diff options
author | Harald Hoyer <harald@redhat.com> | 2013-07-11 13:42:14 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-07-11 13:43:35 +0200 |
commit | 852752fca2f73323e3c25b33348b3c92458665ae (patch) | |
tree | d2f84ffaf3ab349c99f858d71177b0d7bcb6b7b3 /src | |
parent | f7db7a691c3f532cf60886312459f2baea755283 (diff) |
kernel-install/90-loaderentry.install: do not fail for missing initrd
Diffstat (limited to 'src')
-rw-r--r-- | src/kernel-install/90-loaderentry.install | 1 |
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 |