diff options
author | Juan RP <xtraeme@gmail.com> | 2015-04-09 16:57:41 +0000 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2015-04-09 16:57:41 +0000 |
commit | c7f21fd5955c25741990a98f7159ed26d11fb565 (patch) | |
tree | 783d87b61e28c03edc8740e261c2a46f4651e135 /etc | |
parent | d99b4f720d6629a378e3d40f7fb8d4f765bd180e (diff) | |
download | void-packages-c7f21fd5955c25741990a98f7159ed26d11fb565.tar void-packages-c7f21fd5955c25741990a98f7159ed26d11fb565.tar.gz void-packages-c7f21fd5955c25741990a98f7159ed26d11fb565.tar.bz2 void-packages-c7f21fd5955c25741990a98f7159ed26d11fb565.tar.lz void-packages-c7f21fd5955c25741990a98f7159ed26d11fb565.tar.xz void-packages-c7f21fd5955c25741990a98f7159ed26d11fb565.tar.zst void-packages-c7f21fd5955c25741990a98f7159ed26d11fb565.zip |
xbps-src: introduce support for multiple chroot implementations.
Available implementations at common/chroot-style/*.sh. Each .sh
script there implements a chroot style to be able to chroot and bind
mount with multiple utilities. The current supported list:
- uunshare (uses xbps-uunshare(8))
- uchroot (uses xbps-uchroot(8))
- proot (uses proot, see http://proot.me)
The XBPS_CHROOT_CMD can be set in etc/conf to use a specific implementation,
and XBPS_CHROOT_CMD_ARGS to pass in additional arguments to the cmd.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/defaults.conf | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/etc/defaults.conf b/etc/defaults.conf index 016d319461e..6b0e8b0c18a 100644 --- a/etc/defaults.conf +++ b/etc/defaults.conf @@ -88,3 +88,16 @@ XBPS_SUCMD="sudo /bin/sh -c" # override the global options defined above for the matching package. # #XBPS_PKG_OPTIONS_foo=opt,~opt2,opt3,~opt4 + +# [OPTIONAL] +# Set the preferred chroot style. Available styles at common/chroot-style/*.sh: +# +# - uunshare (uses xbps-uunshare(8), user namespaces) +# - uchroot (uses xbps-uchroot(8), namespaces, setgid) +# - proot (uses proot, external, does not need special permissions) +# +# The order is already set as shown above, but can be overriden below. +# Additional arguments to the chroot style can be passed in via XBPS_CHROOT_CMD_ARGS. +# +#XBPS_CHROOT_CMD=proot +#XBPS_CHROOT_CMD_ARGS="" |