kernel-install: create the loader entries with absolute paths relative to /boot
This commit is contained in:
parent
d1ebea5f2c
commit
4120b92f8e
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue