diff mbox series

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

Message ID 20220207142100.206801-3-dimitri.ledkov@canonical.com
State New
Headers show
Series Use default compression for most packages | expand

Commit Message

Dimitri John Ledkov Feb. 7, 2022, 2:20 p.m. UTC
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@canonical.com>
---
 debian/rules.d/2-binary-arch.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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)