From c0b958cd5f58fc89149adbc24e4daacae48ef4d8 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Fri, 23 Sep 2016 03:08:36 +0100 Subject: [PATCH] [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. --- debian/changelog | 1 + debian/rules.real | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index d14b7395e..890cd956b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Fri, 23 Sep 2016 00:50:40 +0100 diff --git a/debian/rules.real b/debian/rules.real index 647cd2d83..aa8495373 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -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,; \