Commit Graph

11 Commits

Author SHA1 Message Date
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
Enno Boland 62e87f1d96 remove unshare chroot style
replaces #1421. fixes #1403.
2015-05-01 09:31:48 +02:00
Enno Boland 29c210185b common/chroot-style/proot.sh: put result file to /tmp 2015-04-12 03:13:30 +02:00
Enno Boland 7de06ae844 common/chroot-style/proot.sh: return proper exitcode from child process 2015-04-11 11:13:07 +02:00
Enno Boland e97892fdb9 common/chroot-style: add unshare wrapper script 2015-04-10 00:11:49 +02:00
Juan RP 5214ac2e8f common/chroot-style/proot.sh: XBPS_MASTERDIR -> MASTERDIR 2015-04-09 19:33:16 +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