integrate-distro.sh: Create rw-root, too

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2016-12-18 15:53:33 +00:00
commit 3067ec7fd7

View file

@ -1249,7 +1249,7 @@ setup_root_directory()
}
run rm -rf $root
run install -d -m 755 $root
run install -d -m 755 $root $rw_root
fi
}
@ -1426,8 +1426,10 @@ esac
if [ "$o_root" ]; then
root=$o_root/ro
rw_root=$o_root/rw
else
root=/srv/nfs/boot/distros/$o_name-$arch/ro
rw_root=/srv/nfs/boot/distros/$o_name-$arch/rw
fi
case $cmd in