Skip to content

Commit

Permalink
Allow /efi as boot partition as well
Browse files Browse the repository at this point in the history
  • Loading branch information
5kt committed Sep 8, 2023
1 parent 4bb3be5 commit c2ecf1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/image.d/makepart
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ sed 's/#.*//;/^[[:space:]]*$/d' \
resize=1
verity=0
secureboot=0
syslinux=$([[ "$(cut -c -5 <<< "$target")" = "/boot" ]] && [[ -f "$rootfs/usr/bin/syslinux" ]] && echo 1 || echo 0)
syslinux=$([[ "$(cut -c -5 <<< "$target")" = "/boot" ]] || [[ "$(tr -d '[:blank:]' <<< "$target")" = "/efi" ]] && [[ -f "$rootfs/usr/bin/syslinux" ]] && echo 1 || echo 0)
ephemeral=0
ephemeral_cryptsetup=0
weight=1
Expand Down

0 comments on commit c2ecf1e

Please sign in to comment.