diff options
-rw-r--r-- | prepare-lastboot | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/prepare-lastboot b/prepare-lastboot index 951f906..4ba1042 100644 --- a/prepare-lastboot +++ b/prepare-lastboot @@ -3,11 +3,10 @@ DEFAULT="$1" LASTBOOT="lastboot" +EFI_DIR="$(bootctl -p)" ROOT_FS=$(findmnt -no SOURCE /) BASE="${ROOT_FS%/*}" -EFI_DIR="/efi" - # default UKI name used by kernel-install UKI_NAME="$(cat /etc/machine-id)-$(uname -r).efi" |