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

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Fri Sep 23 03:37:55 UTC 2016


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch sid
in repository linux.

commit c0b958cd5f58fc89149adbc24e4daacae48ef4d8
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Fri Sep 23 03:08:36 2016 +0100

    [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 d14b739..890cd95 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 <ben at decadent.org.uk>  Fri, 23 Sep 2016 00:50:40 +0100
 
diff --git a/debian/rules.real b/debian/rules.real
index 647cd2d..aa84953 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,; \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git



More information about the Kernel-svn-changes mailing list