Include:AbuildRootBld: Difference between revisions
Arlecchino (talk | contribs) (how to build in bwrap sandbox) |
Arlecchino (talk | contribs) m (using Cmd format) |
||
Line 1: | Line 1: | ||
Install package '''abuild-rootbld''': | Install package '''abuild-rootbld''': {{Cmd|apk add abuild-rootbld}} | ||
Now you can build your source packages in an unprivileged sandbox based on [https://github.com/containers/bubblewrap bubblewrap] with the command | Now you can build your source packages in an unprivileged sandbox based on [https://github.com/containers/bubblewrap bubblewrap] with the command {{Cmd|abuild rootbld}} | ||
If the build process needs network access there has to bet set the '''net''' option in [https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#options APKBUILD]. | If the build process needs network access there has to bet set the '''net''' option in [https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#options APKBUILD]. |
Revision as of 17:11, 12 June 2022
Install package abuild-rootbld:
apk add abuild-rootbld
Now you can build your source packages in an unprivileged sandbox based on bubblewrap with the command
abuild rootbld
If the build process needs network access there has to bet set the net option in APKBUILD.