mount data inside chroot

This commit is contained in:
j3d1 2022-03-28 01:36:20 +02:00
parent 80961471f9
commit 5a38973d52

View file

@ -68,7 +68,10 @@ function unbox_outer_stage(){
mkdir -p target/root/unbox
mount -o bind . target/root/unbox
mkdir -p target/root/unbox_data
mount -o bind /data target/root/unbox_data
$CHROOT target /root/unbox/unbox.sh unbox_inner_stage
umount target/root/unbox target/root/unbox_data
if type -t post_install_stage > /dev/null; then
post_install_stage