From 3067ec7fd7a932d3f3ab6aeedaf81552535d3cc2 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Sun, 18 Dec 2016 15:53:33 +0000 Subject: [PATCH] integrate-distro.sh: Create rw-root, too Signed-off-by: Jan Lindemann --- scripts/integrate-distro.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/integrate-distro.sh b/scripts/integrate-distro.sh index cd412ca8..78dc3fbd 100644 --- a/scripts/integrate-distro.sh +++ b/scripts/integrate-distro.sh @@ -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