[powerpc,powerpcspe,ppc64] linux-image: Suppress automatic dbgsym packages

Currently on powerpc, powerpcspe and ppc64 we get an automatic dbgsym
package with symbols for the bootwrapper tools (addnote, hack-coff,
mktree).  We should either put them in linux-image-*-dbgsym or
nowhere.  For now, opt for nowhere.

Move the dh_strip invocation from the install-base rule to the
install-image_... rule.  None of the other packages using install-base
should contain any executables.
This commit is contained in:
Ben Hutchings 2016-09-23 03:08:36 +01:00
parent 24358fda8e
commit c0b958cd5f
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -3,6 +3,7 @@ linux (4.7.4-3) UNRELEASED; urgency=medium
* [hppa,mips*,powerpc*] linux-image: Strip debug symbols from vmlinux
(really closes: #837588)
* [hppa] tracing: Re-enable FTRACE
* [powerpc,powerpcspe,ppc64] linux-image: Suppress automatic dbgsym packages
-- Ben Hutchings <ben@decadent.org.uk> Fri, 23 Sep 2016 00:50:40 +0100

2
debian/rules.real vendored
View File

@ -197,7 +197,6 @@ ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
dh_installdocs $(INSTALLDOCS_ARGS)
endif
dh_installchangelogs
dh_strip
dh_compress
dh_fixperms
dh_installdeb
@ -407,6 +406,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
+$(MAKE_SELF) install-base GENCONTROL_ARGS='-Vkernel:Recommends='"$$( \
if grep -q '^CONFIG_SMP=y' $(DIR)/.config; then \
printf irqbalance,; \