From: Benjamin Drung Date: Mon, 26 Feb 2018 14:14:26 +0000 (+0100) Subject: Fix overlay mount after switch to /run/live X-Git-Tag: debian/1%20180328~11 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=50de315375c751c7567526e82fa9819728faeceb Fix overlay mount after switch to /run/live The commit 0d878d3a679820d570a20c0fa1c1a2c5b92ad037 applied the patch from Debian bug #886328 incompletely and misses one instance for mounting the overlay directory. Signed-off-by: Benjamin Drung --- diff --git a/components/9990-overlay.sh b/components/9990-overlay.sh index 37e8499..61b1f26 100755 --- a/components/9990-overlay.sh +++ b/components/9990-overlay.sh @@ -239,7 +239,7 @@ setup_unionfs () if [ -n "${PERSISTENCE_READONLY}" ] && [ "${cowdevice}" != "tmpfs" ] then - mount -t tmpfs -o rw,noatime,mode=755,size=${OVERLAY_SIZE:-50%} tmpfs "/live/overlay" + mount -t tmpfs -o rw,noatime,mode=755,size=${OVERLAY_SIZE:-50%} tmpfs "/run/live/overlay" root_backing="/run/live/persistence/$(basename ${cowdevice})-root" mkdir -p ${root_backing} else