diff options
Diffstat (limited to 'src/grp-boot/kernel-install/90-loaderentry.install')
-rw-r--r-- | src/grp-boot/kernel-install/90-loaderentry.install | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/grp-boot/kernel-install/90-loaderentry.install b/src/grp-boot/kernel-install/90-loaderentry.install index 6e94e12f94..af9f0f9ccd 100644 --- a/src/grp-boot/kernel-install/90-loaderentry.install +++ b/src/grp-boot/kernel-install/90-loaderentry.install @@ -16,7 +16,8 @@ if ! [[ $MACHINE_ID ]]; then fi BOOT_DIR="/$MACHINE_ID/$KERNEL_VERSION" -LOADER_ENTRY="/boot/loader/entries/$MACHINE_ID-$KERNEL_VERSION.conf" +BOOT_ROOT=${BOOT_DIR_ABS%$BOOT_DIR} +LOADER_ENTRY="$BOOT_ROOT/loader/entries/$MACHINE_ID-$KERNEL_VERSION.conf" if [[ $COMMAND == remove ]]; then exec rm -f "$LOADER_ENTRY" |