Commit Graph

8 Commits

Author SHA1 Message Date
Juan RP 7b7d7c13a1
xbps-src: exit properly if mktemp(1) fails, not from its subshell.
Thanks @huglovefan
2019-06-17 17:38:07 +02:00
Juan RP f59b295903 xbps-src: cleaned up usage of mktemp(1).
This one was on my TODO for a long while... fixes unportable
arguments (checked with the NetBSD's manual page).
2019-06-17 15:23:20 +02:00
Michael Gehring 8853c28130 common/chroot-style/proot.sh: disable seccomp 2016-11-17 08:48:09 +00: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
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