[Unstable][PATCH 08/10] UBUNTU: [Packaging] rules: Remove explicit kernel compression
Juerg Haefliger
juerg.haefliger at canonical.com
Tue Dec 17 09:25:25 UTC 2024
Flagged by --warn-undefined-variables:
debian/rules.d/2-binary-arch.mk:157: warning: undefined variable 'compress_file'
This is from 2009 when some kernels needed explicit compression. No
longer required, remove it.
Signed-off-by: Juerg Haefliger <juerg.haefliger at canonical.com>
---
debian/rules.d/2-binary-arch.mk | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index 5ebe6c9f2d38..6ee1494c2cc9 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -152,17 +152,8 @@ ifeq ($(do_tools_bpftool),true)
endif
# The main image
- # compress_file logic required because not all architectures
- # generate a zImage automatically out of the box
-ifeq ($(compress_file),)
install -m600 -D $(build_dir)/$(kernfile) \
$(pkgdir_bin)/boot/$(instfile)-$(abi_release)-$*
-else
- install -d $(pkgdir_bin)/boot
- gzip -c9v $(build_dir)/$(kernfile) > \
- $(pkgdir_bin)/boot/$(instfile)-$(abi_release)-$*
- chmod 600 $(pkgdir_bin)/boot/$(instfile)-$(abi_release)-$*
-endif
install -d $(pkgdir)/boot
install -m644 $(build_dir)/.config \
$(pkgdir)/boot/config-$(abi_release)-$*
--
2.43.0
More information about the kernel-team
mailing list