X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=components%2F9990-overlay.sh;h=58828f66524acca9655bc788b29c344a1ad081c3;hb=f5716f9a79564e44e38f5d4164a4dc1d77cb8c3a;hp=9282276174be68fe7d6755579cf77dfc4b53365f;hpb=db25153a257eda7e396f89b522b2f68ae3f21ddd;p=live-boot-grml.git diff --git a/components/9990-overlay.sh b/components/9990-overlay.sh index 9282276..58828f6 100755 --- a/components/9990-overlay.sh +++ b/components/9990-overlay.sh @@ -117,6 +117,8 @@ setup_unionfs () log_begin_msg "Mounting \"${image}\" on \"${mpoint}\" via \"${backdev}\"" mount -t "${fstype}" -o ro,noatime "${backdev}" "${mpoint}" || panic "Can not mount ${backdev} (${image}) on ${mpoint}" log_end_msg + else + log_warning_msg "Could not find image '${image}'. Most likely it is listed in a .module file, perhaps by mistake." fi done else @@ -355,8 +357,8 @@ setup_unionfs () done fi - # ensure that a potentially stray tmpfs gets removed - # otherways, initramfs-tools is unable to remove /live - # and fails to boot - umount /live/overlay > /dev/null 2>&1 || true + # ensure that a potentially stray tmpfs gets removed + # otherways, initramfs-tools is unable to remove /live + # and fails to boot + umount /live/overlay > /dev/null 2>&1 || true }