-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to install software (dependency) on OpenBSD? #75
Comments
@alexander-naumov as mentioned, [1] https://github.com/cross-platform-actions/openbsd-builder#openbsd-builder |
As far as I understand it (not an OpenBSD user either), |
Thank you guys! It works. |
BTW I had some similar issues and to unify builds of my projects I have created build-actions script, that does a preparation by installing cmake and a C/C++ compiler. I didn't really intend to promote this as it's mostly for my use cases, but if you want to take a look and get some inspiration: https://github.com/build-actions/build-actions It's written in python, so it also has a This works for me on Windows, Linux, Mac, and BSD VMs. If anyone wants to use this or extend that I'm interested in making it better. |
Hello,
I'm trying to use this action for OpenBSD build. I need to install dependency inside OpenBSD.
As I can see, it runs as
runner
user. This user is not allowed to install packages.pkg_add package_name
doesn't work.We get an error
pkg_add: pkg_add must be run as root
. This is correct. Normally we executepkg_add
as aroot
user or viadoas
.doas pkg_add package_name
doesn't work.We get an error
doas: doas is not enabled, /etc/doas.conf: No such file or directory
So, my question is: how to install software inside OpenBSD?
The text was updated successfully, but these errors were encountered: