diff --git a/unbox.sh b/unbox.sh index afd735f..fb4222a 100755 --- a/unbox.sh +++ b/unbox.sh @@ -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