[J][UNSTABLE][PATCH 2/3] UBUNTU: [Packaging] do not use compression for image packages

Dimitri John Ledkov dimitri.ledkov at canonical.com
Mon Feb 7 14:20:59 UTC 2022


linux-image-ABI packages contain compressed content only (vmlinuz,
changelog) and thus the deb does not benefit at all from being
recompressed again. Only copyring file is compressed. We can actually
avoid shipping /doc/ at all, by symlinking it to the modules package
provided /doc/.

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov at canonical.com>
---
 debian/rules.d/2-binary-arch.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index 70d1458c52..5f90c35b6f 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -605,7 +605,7 @@ binary-%: checks-%
 	dh_testdir
 	dh_testroot
 
-	$(call dh_all,$(pkgimg))
+	$(call dh_all,$(pkgimg)) -- -Znone
 	$(call dh_all,$(pkgimg_mods))
 
 ifeq ($(do_extras_package),true)
-- 
2.32.0




More information about the kernel-team mailing list