summaryrefslogtreecommitdiff
path: root/src/kernel-install/90-loaderentry.install
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-07-11 13:42:14 +0200
committerHarald Hoyer <harald@redhat.com>2013-07-11 13:43:35 +0200
commit852752fca2f73323e3c25b33348b3c92458665ae (patch)
treed2f84ffaf3ab349c99f858d71177b0d7bcb6b7b3 /src/kernel-install/90-loaderentry.install
parentf7db7a691c3f532cf60886312459f2baea755283 (diff)
kernel-install/90-loaderentry.install: do not fail for missing initrd
Diffstat (limited to 'src/kernel-install/90-loaderentry.install')
-rw-r--r--src/kernel-install/90-loaderentry.install1
1 files changed, 1 insertions, 0 deletions
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