kernel-install: create the loader entries with absolute paths relative to /boot

This commit is contained in:
Harald Hoyer 2013-02-26 10:56:07 +01:00
parent d1ebea5f2c
commit 4120b92f8e

View file

@ -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