From d826fa2e44a55316f4cdc653845f62312ef19911 Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Sun, 5 Apr 2015 20:30:52 +0300 Subject: [PATCH] init: storage should always be writable fixes minor issue in installer, where some (non critical) systemd services fail to start --- packages/sysutils/busybox/scripts/init | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/sysutils/busybox/scripts/init b/packages/sysutils/busybox/scripts/init index 265b76cb1f..82090c6381 100755 --- a/packages/sysutils/busybox/scripts/init +++ b/packages/sysutils/busybox/scripts/init @@ -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 ""