6c7c41b120
--dev-bind isn't necessary in any case it was being used for. We can also use --ro-bind for /void-packages. A possible future improvement would be to mount / read only during the actual build. Also exec bwrap, as done in the uchroot and uunshare chroot styles. And update homepage. |
||
---|---|---|
.. | ||
README | ||
bwrap.sh | ||
ethereal.sh | ||
uchroot.sh | ||
uunshare.sh |
README
CHROOT STYLES ============= This directory contains scripts to perform the chroot operation with xbps-src. The scripts should accept at least 5 arguments: - $1 (MASTERDIR) masterdir to chroot - $2 (DISTDIR) path to the void-packages directory - $3 (HOSTDIR) path to hostdir - $4 (EXTRA_ARGS) additional arguments to be passed - $5 (CMD) command to execute - $@ remaining arguments to pass