[systemd-commits] src/kernel-install
Harald Hoyer
harald at kemper.freedesktop.org
Tue Feb 26 06:26:45 PST 2013
src/kernel-install/kernel-install | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 82673dd4104482b9ffe71441d125918409665c5e
Author: Harald Hoyer <harald at redhat.com>
Date: Tue Feb 26 14:58:38 2013 +0100
kernel-install: rename the loader entry filename
The wildcard matching the default loader entry should always be able to point to
the same machine.
So instead of sorting by <distribution>-<kernel-version>-<machine-id>
we better sort by <machine-id>-<kernel-version>.
diff --git a/src/kernel-install/kernel-install b/src/kernel-install/kernel-install
index 6378d8c..16c06e0 100644
--- a/src/kernel-install/kernel-install
+++ b/src/kernel-install/kernel-install
@@ -69,7 +69,7 @@ fi
BOOT_DIR="/${MACHINE_ID}/${KERNEL_VERSION}"
BOOT_DIR_ABS="/boot${BOOT_DIR}"
-LOADER_ENTRY="/boot/loader/entries/${ID}-${KERNEL_VERSION}-${MACHINE_ID}.conf"
+LOADER_ENTRY="/boot/loader/entries/${MACHINE_ID}-${KERNEL_VERSION}.conf"
ret=0
dropindirs_sort()
More information about the systemd-commits
mailing list