From 5a38973d520d0620d7620d5603eaa1d793b89c7b Mon Sep 17 00:00:00 2001 From: jedi Date: Mon, 28 Mar 2022 01:36:20 +0200 Subject: [PATCH] mount data inside chroot --- unbox.sh | 3 +++ 1 file changed, 3 insertions(+) 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