tags 681579 patch
thanks
Hi,
find below a simple patch (for the debian branch) that illustrates the
problem and solves it for me. Please review the patch carefully,
there might be better implementations instead of this workaround.
Thanks,
Andi
diff --git a/scripts/boot/overlay.sh b/scripts/boot/overlay.sh
index cb12c4b..2ec9782 100755
--- a/scripts/boot/overlay.sh
+++ b/scripts/boot/overlay.sh
@@ -155,9 +155,15 @@ setup_unionfs ()
# tmpfs file systems
touch /etc/fstab
- mkdir -p /live
- mount -t tmpfs tmpfs /live
- mkdir -p /live/overlay
+ if [ ! -d /live ]
+ then
+ mkdir -p /live
+ mount -t tmpfs tmpfs /live
+ mkdir -p /live/overlay
+ else
+ mkdir -p /live/overlay
+ mount -t tmpfs tmpfs /live/overlay
+ fi
# Looking for persistence devices or files
if [ -n "${PERSISTENCE}" ] && [ -z "${NOPERSISTENCE}" ]
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org