Commit Graph

17 Commits

Author SHA1 Message Date
Andrea Brancaleoni e12c6ef8ae xbps-src: include new chroot implementation (bubblewrap) 2018-06-12 09:36:39 +02:00
Enno Boland 31679c6010
common: Fix command line parsing with uchroot and uunshare for xbps-0.52. 2018-04-16 14:17:27 +02:00
Michael Gehring 8853c28130 common/chroot-style/proot.sh: disable seccomp 2016-11-17 08:48:09 +00: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 31d8471d05 xbps-src: added a README describing common/chroot-style. 2015-11-18 09:32:07 +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
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