Builder for live images based on Debian
Go to file
Luca Boccassi 035518ff69 UEFI: add support for Secure Boot on amd64 and arm64
Support for UEFI Secure Boot is modelled after how it currently works
in Ubuntu and on how it is going to work on Debian.
A minimal bootloader, shim, is used as the first-stage and it then
loads grub. Both have to be signed.
shim-signed is already available in Debian so the filenames are
already established, and the grub2 repository and packaging is common
between the 2 distros so we can already be reasonably sure of what it
is going to be.
So if both are available, copy /usr/lib/shim/shim[x64|aa64].efi.signed
as boot[x64|aa64].efi so that UEFI loads it first, and copy
/usr/lib/grub/[x86_64|arm64]-efi-signed/grub[x64|aa64].efi.signed as
grub[x64|aa64].efi.
This grub2 EFI monolithic image is currently hard-coded in grub2's
repository to look for a config file in efi/debian, so make a copy
of the previously added minimal grub.cfg that loads the real one in
that directory in both the fat32 and ISO 9660 partitions.

The new option --uefi-secure-boot can be set to auto (default,
enable or disable.
In auto, the lack of the signed EFI binaries is intentionally left as a
soft failure - live-build will simply fallback to using the locally
generated non-signed grub2 monolithic EFI binary as the only
bootloader. Given the difficulties surrounding the Secure Boot
signing infrastructure this approach gives the most flexibility and
makes sure things will "just work" once the packages are available,
without the need to change anything in the configuration.
This will also greatly help downstream distributions and users who
want to do self-signing.
The enable or disable options work as expected.

Closes: #821084
2018-03-09 20:57:54 +00:00
data/debian-cd Adding data symlink for stretch. 2015-05-03 16:03:40 +02:00
debian Update changelog 2018-02-24 17:56:10 +01:00
examples Updating example gitignore file. 2015-04-29 08:11:39 +02:00
frontend Flattening frontend directory within the source tree. 2015-04-29 08:12:46 +02:00
functions UEFI: add support for Secure Boot on amd64 and arm64 2018-03-09 20:57:54 +00:00
manpages UEFI: add support for Secure Boot on amd64 and arm64 2018-03-09 20:57:54 +00:00
scripts UEFI: add support for Secure Boot on amd64 and arm64 2018-03-09 20:57:54 +00:00
share Initialize /etc/default/locale with LANG=C.UTF-8 2017-08-29 12:26:33 +02:00
COPYING Switching to GPL3+. 2011-03-09 18:22:29 +01:00
Makefile Fix version of live-build that is displayed by lb --version 2016-12-02 15:23:20 +01:00