init: storage should always be writable

fixes minor issue in installer, where some (non critical) systemd
services fail to start
This commit is contained in:
Stefan Saraev 2015-04-05 20:30:52 +03:00
parent b729cebb2b
commit d826fa2e44

View File

@ -511,6 +511,9 @@
fi
fi
mount_part "$disk" "/storage" "rw,noatime"
else
# /storage should always be writable
mount -t tmpfs none /storage
fi
}
@ -627,10 +630,7 @@
fi
mount --move /flash /sysroot/flash
if [ -n "$disk" ]; then
mount --move /storage /sysroot/storage
fi
mount --move /storage /sysroot/storage
if [ ! -d "/sysroot/lib/modules/$(uname -r)/" -a -f "/sysroot/usr/lib/systemd/systemd" ]; then
echo ""