diff options
author | Harald Hoyer <harald@redhat.com> | 2016-07-19 12:10:09 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-07-19 12:10:09 +0200 |
commit | 340defcd06b4219eaec6b63f62e0fc4ad8c7ac96 (patch) | |
tree | 25410dcc903af4cdab197433938ba05c097945a1 /src/kernel-install/90-loaderentry.install | |
parent | 1efbf658193b0d27e0fc0151e5ea418ab083b6b0 (diff) |
kernel-install: recognize /boot/efi mountpoint (#3751)
install everything in /boot/efi, if this is a mountpoint
Diffstat (limited to 'src/kernel-install/90-loaderentry.install')
-rw-r--r-- | src/kernel-install/90-loaderentry.install | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel-install/90-loaderentry.install b/src/kernel-install/90-loaderentry.install index 4c9b1f0327..a0bca05c9a 100644 --- a/src/kernel-install/90-loaderentry.install +++ b/src/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" |