[Git-commits] [grml/grml-live] 581da7: Use grubx64.efi file from grml_chroot, instead of ...
Michael Prokop
noreply at github.com
Fri Mar 11 16:54:12 CET 2022
Branch: refs/heads/master
Home: https://github.com/grml/grml-live
Commit: 581da7443c68c362a7677c905ab5c63eb23c5b73
https://github.com/grml/grml-live/commit/581da7443c68c362a7677c905ab5c63eb23c5b73
Author: Michael Prokop <mika at grml.org>
Date: 2022-03-11 (Fri, 11 Mar 2022)
Changed paths:
M grml-live
Log Message:
-----------
Use grubx64.efi file from grml_chroot, instead of relying on host system
We don't want to depend on the host system, but instead use the
grubnetx64.efi.signed or grubnetx64.efi files from the grml_chroot as
grubx64.efi for PXE boot.
Related to commit 871fc96fc
This work was funded by Grml-Forensic.
Commit: 27016a8d6fae94ae6c61a0784d5bfa6b6fa6a5ae
https://github.com/grml/grml-live/commit/27016a8d6fae94ae6c61a0784d5bfa6b6fa6a5ae
Author: Michael Prokop <mika at grml.org>
Date: 2022-03-11 (Fri, 11 Mar 2022)
Changed paths:
M grml-live
Log Message:
-----------
Redesign RELEASE_INFO handling + fix variable replacements within templates
There's no point in setting "$GRML_NAME $VERSION - $RELEASENAME" at
different places, while it's supposed to be identical to $RELEASE_INFO,
so let's unify it.
Also ensure, that $fixed_release_info is set at the appropriate place.
Otherwise it might be missing, when adjust_boot_files() is invoked from
within grub_setup(). This has been observed to fail for example with
SecureBoot enabled, and using grml-live's `-b` option:
[*] Secure Boot is enabled [mode: debian]
[x] Variable fixed_squashfs_name is unset, can't adjust %SQUASHFS_NAME% in templates.
[x] Variable fixed_release_info is unset, can't adjust %RELEASE_INFO% in templates.
[*] Generated 64-bit Secure Boot (debian) EFI image /srv/grml-live/grml64-forensic_2022.03-1/grml_chroot//boot/efi.img
Furthermore, $fixed_squashfs_name shouldn't be used in
adjust_boot_files(), as the boot templates usually include
"toram=%SQUASHFS_NAME%", while this shouldn't be stripped of (as it
would break the actual toram feature then). Instead, the
$fixed_squashfs_name should be used only with specific isolinux/syslinux
config files, where the length matters for the appropriate line length
for its look'n'feel.
This work was funded by Grml-Forensic.
Compare: https://github.com/grml/grml-live/compare/b5165f052f10...27016a8d6fae
More information about the Git-commits
mailing list