[systemd-commits] src/kernel-install
Harald Hoyer
harald at kemper.freedesktop.org
Tue Feb 26 01:56:51 PST 2013
src/kernel-install/kernel-install | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4120b92f8e3977c644c5fb1ab0c7bc505108d491
Author: Harald Hoyer <harald at redhat.com>
Date: Tue Feb 26 10:56:07 2013 +0100
kernel-install: create the loader entries with absolute paths relative to /boot
diff --git a/src/kernel-install/kernel-install b/src/kernel-install/kernel-install
index 8dd7f67..6378d8c 100644
--- a/src/kernel-install/kernel-install
+++ b/src/kernel-install/kernel-install
@@ -67,8 +67,8 @@ if ! ( [[ $COMMAND ]] && [[ $KERNEL_VERSION ]] && [[ $KERNEL_IMAGE ]] ); then
exit 1
fi
-BOOT_DIR="$MACHINE_ID/$KERNEL_VERSION"
-BOOT_DIR_ABS="/boot/$BOOT_DIR"
+BOOT_DIR="/${MACHINE_ID}/${KERNEL_VERSION}"
+BOOT_DIR_ABS="/boot${BOOT_DIR}"
LOADER_ENTRY="/boot/loader/entries/${ID}-${KERNEL_VERSION}-${MACHINE_ID}.conf"
ret=0
More information about the systemd-commits
mailing list