aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2020-05-26 15:04:19 +0200
committerHelge Deller <deller@gmx.de>2020-05-26 15:09:52 +0200
commite30336ff6519e31077b27210f595ea7fbd23a2c9 (patch)
tree3c85bbd657bbb2a6964eb05e40772cbbded07402 /debian
parent9cebd67f992d7fac42d75571a1ffe3eea1efac26 (diff)
downloadkernel_replicant_linux-e30336ff6519e31077b27210f595ea7fbd23a2c9.tar.gz
kernel_replicant_linux-e30336ff6519e31077b27210f595ea7fbd23a2c9.tar.bz2
kernel_replicant_linux-e30336ff6519e31077b27210f595ea7fbd23a2c9.zip
Don't run dh_strip on vmlinuz
The debian kernel build switched to use debhelper compatibility level 12 with this commit: commit 59a5af36cbf1cc01ef48b91719f999a699d99fab Author: Ben Hutchings <ben@decadent.org.uk> debhelper started complaining about level 9, so it's time to upgrade again. This change broke the kernel build on the hppa architecture. Since compat level 12, dh_strip runs the "strip" command on any vmlinuz* files, which wasn't the case before. On hppa the 64-bit build needs to run "hppa64-linux-strip" instead of "strip". Fix it by adding "vmlinuz" to the exclude list of dh_strip, and thus behave as compat level 9 did before. Tested on hppa and x86-64.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog3
-rw-r--r--debian/rules.real2
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 2b5e7ec9341c..436b80da0066 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,9 @@ linux (5.7~rc7-1~exp1) UNRELEASED; urgency=medium
* [arm64] Add analogix-anx6345, pwm-sun4i, sun4i-drm and sun8i-mixer to
fb-modules udeb.
+ [ Helge Deller ]
+ * [hppa] Don't run dh_strip on vmlinuz (Closes: #961299)
+
-- Ben Hutchings <benh@debian.org> Sat, 16 May 2020 00:08:32 +0100
linux (5.7~rc5-1~exp1) experimental; urgency=medium
diff --git a/debian/rules.real b/debian/rules.real
index e73588b4093c..af1d246f3b27 100644
--- a/debian/rules.real
+++ b/debian/rules.real
@@ -447,7 +447,7 @@ endif
+$(MAKE_SELF) \
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_bug \
PACKAGE_DIR='$(PACKAGE_DIR)' PACKAGE_NAME='$(PACKAGE_NAME)' REAL_VERSION='$(REAL_VERSION)'
- dh_strip --no-automatic-dbgsym -Xvmlinux
+ dh_strip --no-automatic-dbgsym -Xvmlinux -Xvmlinuz
ln -sf linux-image.NEWS debian/$(PACKAGE_NAME).NEWS
+$(MAKE_SELF) install-base