diff options
author | Marcel Partap <mpartap@gmx.net> | 2020-06-22 17:24:31 +0200 |
---|---|---|
committer | Luca Boccassi <bluca@debian.org> | 2020-10-12 12:41:58 +0000 |
commit | ce39f3e507a8d03b1c986c400d797f13f82ae9d5 (patch) | |
tree | 92c9d7dd7203c7ca320594c54c441f5ee8dee2ca | |
parent | 169645b478343b5c588ba18014433e4420e12205 (diff) | |
download | vyos-live-build-ce39f3e507a8d03b1c986c400d797f13f82ae9d5.tar.gz vyos-live-build-ce39f3e507a8d03b1c986c400d797f13f82ae9d5.zip |
For 32bit UEFI secure boot, the package name is grub-efi-ia32-signed
avoids spitting out warning
> [2020-06-07 22:30:32] lb binary_grub-efi
> P: Begin preparing Grub based EFI support...
> Reading package lists...
> Building dependency tree...
> Reading state information...
> Package grub-efi-amd64-signed is not available, but is referred to by another package.
> This may mean that the package is missing, has been obsoleted, or
> is only available from another source
>
> E: Package 'grub-efi-amd64-signed' has no installation candidate
> W: UEFI Secure Boot disabled due to missing signed Grub/Shim.
-rwxr-xr-x | scripts/build/binary_grub-efi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/build/binary_grub-efi b/scripts/build/binary_grub-efi index 9cb105370..b12dd0efe 100755 --- a/scripts/build/binary_grub-efi +++ b/scripts/build/binary_grub-efi @@ -67,11 +67,16 @@ Check_package chroot /sbin/mkfs.msdos dosfstools # By default (auto) do a best-effort build: if the signed binaries are available use # them, but don't fail if they are not, just print a warning. case "${LB_ARCHITECTURE}" in - amd64|i386) + amd64) _SB_EFI_PLATFORM="x86_64" _SB_EFI_NAME="x64" _SB_EFI_DEB="amd64" ;; + i386) + _SB_EFI_PLATFORM="i386" + _SB_EFI_NAME="ia32" + _SB_EFI_DEB="ia32" + ;; arm64) _SB_EFI_PLATFORM="arm64" _SB_EFI_NAME="aa64" |