diff options
author | Harald Hoyer <harald@redhat.com> | 2013-02-26 14:58:38 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-02-26 15:21:23 +0100 |
commit | 82673dd4104482b9ffe71441d125918409665c5e (patch) | |
tree | 14de7f307ac19ac10d5c781b6f42cb57797fbf8b | |
parent | 4120b92f8e3977c644c5fb1ab0c7bc505108d491 (diff) |
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>.
-rw-r--r-- | src/kernel-install/kernel-install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel-install/kernel-install b/src/kernel-install/kernel-install index 6378d8c315..16c06e0842 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() |