void-packages/common/chroot-style
classabbyamp 1a47dd3d9e common/chroot-style/uchroot.sh: check if xbps-uchroot is executable
... and show a friendly error message

This can be a common failure mode when using `-t` if not in the group
`xbps-uchroot` is owned by, because it is SUID. Previously, the error was
the cryptic message `ERROR: prctl SECBIT_NOROOT (Operation not permitted)`.
2024-05-11 23:30:11 -04:00
..
README
bwrap.sh
ethereal.sh
uchroot.sh common/chroot-style/uchroot.sh: check if xbps-uchroot is executable 2024-05-11 23:30:11 -04:00
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