mirror of
https://github.com/systemd/systemd.git
synced 2025-01-25 10:04:04 +03: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:
parent
4120b92f8e
commit
82673dd410
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user