Commit Graph

9 Commits

Author SHA1 Message Date
Enno Boland 31679c6010
common: Fix command line parsing with uchroot and uunshare for xbps-0.52. 2018-04-16 14:17:27 +02:00
Juan RP 0a58fd0c01 Revert "xbps-src: fix uchroot chroot-style to not overwrite XBPS_CHROOT_CMD_ARGS."
This reverts commit ba4bba2031.
2015-12-12 10:12:33 +01:00
Juan RP ba4bba2031 xbps-src: fix uchroot chroot-style to not overwrite XBPS_CHROOT_CMD_ARGS. 2015-12-12 10:03:41 +01:00
Juan RP ff1a547ee2 Revert "chroot-style: u{chroot,unshare}: set POSIXLY_CORRECT to behave in POSIX mode."
This reverts commit 5a4c1c4ebe.

Breaks xbps-src -a target ..., so revert this for now.
2015-06-07 10:52:48 +02:00
Juan RP 5a4c1c4ebe chroot-style: u{chroot,unshare}: set POSIXLY_CORRECT to behave in POSIX mode.
musl stops processing options in getopt as soon as a non option is processed,
and this is the POSIX way. glibc needs to set this env var to behave in
POSIX mode as well.
2015-06-07 10:01:01 +02:00
Juan RP 1ffba0ae71 xbps-src: fix regression with the proot chroot-style. 2015-06-03 20:12:49 +02:00
Juan RP 3493f3c229 xbps-src: requires xbps>=0.45 now. 2015-06-03 11:32:47 +02:00
Juan RP ed6345f938 xbps-src: unbreak chroot-style scripts. 2015-04-09 19:30:28 +02:00
Juan RP c7f21fd595 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.
2015-04-09 18:57:41 +02:00