kernel-install: create the loader entries with absolute paths relative to /boot
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user