Fix overlay mount after switch to /run/live
authorBenjamin Drung <benjamin.drung@profitbricks.com>
Mon, 26 Feb 2018 14:14:26 +0000 (15:14 +0100)
committerBenjamin Drung <benjamin.drung@profitbricks.com>
Thu, 15 Mar 2018 16:29:03 +0000 (17:29 +0100)
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 <benjamin.drung@profitbricks.com>
components/9990-overlay.sh

index 37e8499..61b1f26 100755 (executable)
@@ -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