projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Applying slightly modified patch from Reinhard Tartler <siretart@tauware.de> to ensur...
[live-boot-grml.git]
/
scripts
/
boot
/
9990-overlay.sh
diff --git
a/scripts/boot/9990-overlay.sh
b/scripts/boot/9990-overlay.sh
index
3ee382e
..
55254c7
100755
(executable)
--- a/
scripts/boot/9990-overlay.sh
+++ b/
scripts/boot/9990-overlay.sh
@@
-425,4
+425,8
@@
setup_unionfs ()
mount -o bind /live/overlay "${rootmnt}/lib/live/overlay" || \
log_warning_msg "W: failed to mount /live/overlay to ${rootmnt}/lib/live/overlay"
mount -o bind /live/overlay "${rootmnt}/lib/live/overlay" || \
log_warning_msg "W: failed to mount /live/overlay to ${rootmnt}/lib/live/overlay"
+ # ensure that a potentially stray tmpfs gets removed
+ # otherways, initramfs-tools is unable to remove /live
+ # and fails to boot
+ umount /live/overlay || true
}
}