Skip to content
Snippets Groups Projects
Commit fd7b355f authored by Steve McIntyre's avatar Steve McIntyre
Browse files

Installing to the RMP also needs mokmanager.

Closes: #1034409
parent effc8001
No related merge requests found
grub2 (2.06-13) UNRELEASED; urgency=medium
[ Steve McIntyre ]
* When *also* installing to the removable media path, include the
relevant mokmanager binary. Closes: #1034409
-- Steve McIntyre <93sam@debian.org> Sun, 23 Apr 2023 20:55:54 +0100
grub2 (2.06-12) unstable; urgency=medium grub2 (2.06-12) unstable; urgency=medium
* Fix up arm64 SB patch to fix build failure on 32-bit arm systems * Fix up arm64 SB patch to fix build failure on 32-bit arm systems
......
...@@ -107,7 +107,7 @@ Index: grub.git/util/grub-install.c ...@@ -107,7 +107,7 @@ Index: grub.git/util/grub-install.c
fb_src = grub_util_path_concat (2, "/usr/lib/shim/", fb_src = grub_util_path_concat (2, "/usr/lib/shim/",
fb_signed); fb_signed);
@@ -2154,30 +2152,81 @@ main (int argc, char *argv[]) @@ -2154,30 +2152,82 @@ main (int argc, char *argv[])
if (!removable) if (!removable)
grub_install_copy_file (fb_src, grub_install_copy_file (fb_src,
fb_dst, 0); fb_dst, 0);
...@@ -129,6 +129,7 @@ Index: grub.git/util/grub-install.c ...@@ -129,6 +129,7 @@ Index: grub.git/util/grub-install.c
+ also_install_removable (shim_signed, base_efidir, removable_file, 1); + also_install_removable (shim_signed, base_efidir, removable_file, 1);
+ +
+ also_install_removable (efi_signed, base_efidir, chained_base, 1); + also_install_removable (efi_signed, base_efidir, chained_base, 1);
+ also_install_removable (mok_src, base_efidir, mok_file, 0);
+ +
+ /* If we're updating the NVRAM, add fallback too - it + /* If we're updating the NVRAM, add fallback too - it
+ will re-update the NVRAM later if things break */ + will re-update the NVRAM later if things break */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment