kernel-install/90-loaderentry.install: do not fail for missing initrd

This commit is contained in:
Harald Hoyer 2013-07-11 13:42:14 +02:00
parent f7db7a691c
commit 852752fca2
1 changed files with 1 additions and 0 deletions

View File

@ -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