Remove exec from chroot to allow post-chroot unmount
This commit is contained in:
parent
ad7709d9dd
commit
86e4a32fd0
|
@ -857,7 +857,7 @@ function gentoo_chroot() {
|
||||||
EXECUTED_IN_CHROOT=true \
|
EXECUTED_IN_CHROOT=true \
|
||||||
TMP_DIR="$TMP_DIR" \
|
TMP_DIR="$TMP_DIR" \
|
||||||
CACHED_LSBLK_OUTPUT="$CACHED_LSBLK_OUTPUT" \
|
CACHED_LSBLK_OUTPUT="$CACHED_LSBLK_OUTPUT" \
|
||||||
exec chroot -- "$chroot_dir" "$GENTOO_INSTALL_REPO_DIR/scripts/dispatch_chroot.sh" "$@" \
|
chroot -- "$chroot_dir" "$GENTOO_INSTALL_REPO_DIR/scripts/dispatch_chroot.sh" "$@" \
|
||||||
|| die "Failed to chroot into '$chroot_dir'"
|
|| die "Failed to chroot into '$chroot_dir'"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue