vp-build/common/chroot-style
Érico Nogueira 6c7c41b120 common/chroot-style: clean up bwrap.sh.
--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.
2021-11-12 23:12:51 -03:00
..
bwrap.sh
ethereal.sh
README
uchroot.sh
uunshare.sh

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