summaryrefslogtreecommitdiff
path: root/src/kernel-install
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-02-26 10:56:07 +0100
committerHarald Hoyer <harald@redhat.com>2013-02-26 10:56:07 +0100
commit4120b92f8e3977c644c5fb1ab0c7bc505108d491 (patch)
tree7a14e72823d320ce2344184f7cda978f7e645549 /src/kernel-install
parentd1ebea5f2c59bab4b874e4479d61ad09b796ce30 (diff)
kernel-install: create the loader entries with absolute paths relative to /boot
Diffstat (limited to 'src/kernel-install')
-rw-r--r--src/kernel-install/kernel-install4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel-install/kernel-install b/src/kernel-install/kernel-install
index 8dd7f6788..6378d8c31 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