Skip to content

Commit

Permalink
UBUNTU: [Packaging] do not use compression for image packages
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
  • Loading branch information
Dimitri John Ledkov authored and Andrea Righi committed Jun 26, 2023
1 parent 621406f commit d209644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/rules.d/2-binary-arch.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d209644

Please sign in to comment.