From 37824b1cb96596d93e397e876d95dab7cdba495e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 31 Aug 2011 20:55:05 +0200 Subject: [PATCH] Printing out a warning message in initramfs-tools hook if backend is installed but no live-boot package, exiting early and not breaking update-initramfs (Closes: #639884). --- hooks/live | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hooks/live b/hooks/live index 309c26f..c916381 100755 --- a/hooks/live +++ b/hooks/live @@ -42,6 +42,13 @@ fi # Handling live-boot +if [ ! -e /usr/share/live-boot ] +then + echo "W: live-boot-initramfs-tools (backend) installed without live-boot," + echo "W: this initramfs will *NOT* have live support." + exit 0 +fi + [ "${QUIET}" ] || echo -n " "core # Configuration if [ -e /usr/share/live-boot/languagelist ] -- 2.1.4