X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Fboot%2F9990-overlay.sh;h=55254c7c1f29a49d273914f320a194414c5b4ec4;hb=5078ff3dd0fd6b5c2d9e1606ecceb4ea5bf47946;hp=3ee382eb7f3034d3aae55bab2d3f7c57c04e2e67;hpb=e182c1d4f7ec50f1498d900f7c6250191537457f;p=live-boot-grml.git diff --git a/scripts/boot/9990-overlay.sh b/scripts/boot/9990-overlay.sh index 3ee382e..55254c7 100755 --- 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" + # ensure that a potentially stray tmpfs gets removed + # otherways, initramfs-tools is unable to remove /live + # and fails to boot + umount /live/overlay || true }