mount data inside chroot
This commit is contained in:
parent
80961471f9
commit
5a38973d52
1 changed files with 3 additions and 0 deletions
3
unbox.sh
3
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
|
||||
|
|
Loading…
Reference in a new issue