Closed Slackadays closed 1 year ago
Hmm, that should definitely be possible. sudo
is configured during installation [1], but I will investigate. Which version of FreeBSD are you using?
I'm trying to use FreeBSD 13.1 and pkg is not found
I'm using FreeBSD 13.1 too, but somehow pkg
was available and only complained that I wasn't root.
Check https://github.com/Slackadays/Clipboard/blob/446708ce037a81f925517a8fc5ece75e8f10af39/.github/workflows/main.yml#L154 for my complete action
Seems to work for me: https://github.com/cross-platform-actions/action/actions/runs/4018578271/jobs/6904364798.
Using sudo pkg...
worked for me too, so I guess this issue is resolved.
https://github.com/Slackadays/Clipboard/actions/runs/4018816995/jobs/6904901916
@derobins does it work for you?
I'm trying to use this action for Free/Open/NetBSD builds for Clipboard (https://github.com/Slackadays/Clipboard). However, the prerequisites for FreeBSD are GCC 10/11/12 and CMake. I can't install these packages with
pkg
because the user isn't root, and I can't get root withsu
because the user isn't in the right group. Would it be possible to fix this? Currently if I can't install these packages then this action is incompatible with Clipboard. The same issue might be present in Open/NetBSD but I haven't checked those out yet. :)