mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-06 05:32:02 +00:00
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>.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user