From 852752fca2f73323e3c25b33348b3c92458665ae Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 11 Jul 2013 13:42:14 +0200 Subject: kernel-install/90-loaderentry.install: do not fail for missing initrd --- src/kernel-install/90-loaderentry.install | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kernel-install/90-loaderentry.install') diff --git a/src/kernel-install/90-loaderentry.install b/src/kernel-install/90-loaderentry.install index 6fbb14908a..6b91d1cccb 100644 --- a/src/kernel-install/90-loaderentry.install +++ b/src/kernel-install/90-loaderentry.install @@ -77,6 +77,7 @@ mkdir -p "${LOADER_ENTRY%/*}" || { echo "linux $BOOT_DIR/linux" [[ -f $BOOT_DIR_ABS/initrd ]] && \ echo "initrd $BOOT_DIR/initrd" + : } > "$LOADER_ENTRY" || { echo "Could not create loader entry '$LOADER_ENTRY'." >&2 exit 1 -- cgit v1.2.3-54-g00ecf