common: add chroot-style 'ethereal'
This commit is contained in:
parent
62aaae3978
commit
fadca94b98
4 changed files with 144 additions and 1 deletions
2
xbps-src
2
xbps-src
|
@ -577,7 +577,7 @@ if [ -n "${NO_COLOR+x}" ]; then
|
|||
fi
|
||||
|
||||
chroot_check() {
|
||||
if [ -f $XBPS_MASTERDIR/.xbps_chroot_init ]; then
|
||||
if [ -f $XBPS_MASTERDIR/.xbps_chroot_init -o "$XBPS_CHROOT_CMD" = "ethereal" ]; then
|
||||
export CHROOT_READY=1
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue