Bug#1108713: unblock: grub2/2.12-9

Felix Zielcke fzielcke at z-51.de
Thu Jul 3 19:26:50 BST 2025


Package: release.debian.org
Severity: normal
X-Debbugs-Cc: grub2 at packages.debian.org
Control: affects -1 + src:grub2
User: release.debian.org at packages.debian.org
Usertags: unblock

Please unblock package grub2

[ Reason ]

kernel.exec and *.image files in grub-pc-dbg had their debug info stripped by dh_strip.
So it makes them useless for debugging.
See bug #1072167

[ Impact ]

See above. Debugging of grub with the help of grub-*-dbg packages is useless.

[ Tests ]

Built .deb file was checked with `file` that they're indeed not stripped.

[ Risks ]

Only change is in d/rules the dh_strip call. Nothing else changed

[ Checklist ]
  [X] all changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in testing

[ Other info ]
(Anything else the release team should know.)

unblock grub2/2.12-9
unblock grub-efi-amd64-signed/1+2.12+9
unblock grub-efi-arm64-signed/1+2.12+9
unblock grub-efi-ia32-signed/1+2.12+9
-------------- next part --------------
diff -Nru grub2-2.12/debian/changelog grub2-2.12/debian/changelog
--- grub2-2.12/debian/changelog	2025-06-11 17:42:34.000000000 +0200
+++ grub2-2.12/debian/changelog	2025-07-03 18:35:51.000000000 +0200
@@ -1,3 +1,10 @@
+grub2 (2.12-9) unstable; urgency=medium
+
+  * Apply patch by Ben Hutchings to not strip .exec or .image files
+    (Closes: #1072167)
+
+ -- Felix Zielcke <fzielcke at z-51.de>  Thu, 03 Jul 2025 18:35:51 +0200
+
 grub2 (2.12-8) unstable; urgency=medium
 
   [ Mate Kukri ]
diff -Nru grub2-2.12/debian/rules grub2-2.12/debian/rules
--- grub2-2.12/debian/rules	2025-06-11 17:42:34.000000000 +0200
+++ grub2-2.12/debian/rules	2025-07-03 18:35:51.000000000 +0200
@@ -578,7 +578,7 @@
 	dh_bugfiles $(patsubst %,-N%,$(filter grub-efi-%-signed-template,$(BUILD_PACKAGES))) -A
 
 override_dh_strip:
-	dh_strip -X/usr/lib/grub-xen/grub-x86_64-xen.bin -X/usr/lib/grub-xen/grub-i386-xen_pvh.bin -X/usr/lib/grub-xen/grub-i386-xen.bin
+	dh_strip -X/usr/lib/grub-xen/grub-x86_64-xen.bin -X/usr/lib/grub-xen/grub-i386-xen_pvh.bin -X/usr/lib/grub-xen/grub-i386-xen.bin -X.exec -X.image
 
 override_dh_shlibdeps:
 	dh_shlibdeps -X.module


More information about the Pkg-grub-devel mailing list