void-packages/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
..
README
bwrap.sh common/chroot-style: clean up bwrap.sh. 2021-11-12 23:12:51 -03:00
ethereal.sh
uchroot.sh common: fix tooling section in comments 2021-10-24 21:33:13 +02:00
uunshare.sh common: fix tooling section in comments 2021-10-24 21:33:13 +02:00

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