projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
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
8dd7f67
..
6378d8c
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