From 50de315375c751c7567526e82fa9819728faeceb Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Mon, 26 Feb 2018 15:14:26 +0100 Subject: [PATCH] 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 --- components/9990-overlay.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.1.4