]> git.proxmox.com Git - grub2.git/commitdiff
Installing to the RMP also needs mokmanager.
authorSteve McIntyre <93sam@debian.org>
Sun, 23 Apr 2023 20:14:54 +0000 (21:14 +0100)
committerSteve McIntyre <93sam@debian.org>
Sun, 23 Apr 2023 22:06:26 +0000 (23:06 +0100)
Closes: #1034409
debian/changelog
debian/patches/grub-install-removable-shim.patch

index a28558749cecfe24b703c81b73ca39153a37eb44..7298ba3aa51fa2558f95bfd347b60b53ad797693 100644 (file)
@@ -1,3 +1,12 @@
+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
 
   * Fix up arm64 SB patch to fix build failure on 32-bit arm systems
index 53c28d698962884f695132cc88b705fa1d9fb1d8..21b87c446879389ef2a487c9c68c04f67142aa36 100644 (file)
@@ -107,7 +107,7 @@ Index: grub.git/util/grub-install.c
  
                fb_src = grub_util_path_concat (2, "/usr/lib/shim/",
                                                    fb_signed);
-@@ -2154,30 +2152,81 @@ main (int argc, char *argv[])
+@@ -2154,30 +2152,82 @@ main (int argc, char *argv[])
                if (!removable)
                  grub_install_copy_file (fb_src,
                                          fb_dst, 0);
@@ -129,6 +129,7 @@ Index: grub.git/util/grub-install.c
 +                  also_install_removable (shim_signed, base_efidir, removable_file, 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
 +                      will re-update the NVRAM later if things break */