chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d1ebea5
)
kernel-install: create the loader entries with absolute paths relative to /boot
author
Harald Hoyer
<harald@redhat.com>
Tue, 26 Feb 2013 09:56:07 +0000
(10:56 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Tue, 26 Feb 2013 09:56:07 +0000
(10:56 +0100)
src/kernel-install/kernel-install
patch
|
blob
|
history
diff --git
a/src/kernel-install/kernel-install
b/src/kernel-install/kernel-install
index 8dd7f6788b37d37854776fc510f10b7869b6d637..6378d8c315bde5149ffe0b23b5195baf0079c649 100644
(file)
--- 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