[linux] 01/03: [hppa, mips*, powerpc*] linux-image: Strip debug symbols from vmlinux (really closes: #837588)
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 9067a5df84b8b0d6037dec4f2dce6a57ca22f70d
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Fri Sep 23 00:51:50 2016 +0100
[hppa,mips*,powerpc*] linux-image: Strip debug symbols from vmlinux (really closes: #837588)
---
debian/changelog | 7 +++++++
debian/rules.real | 5 +++++
2 files changed, 12 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 2d78b64..36fa01e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+linux (4.7.4-3) UNRELEASED; urgency=medium
+
+ * [hppa,mips*,powerpc*] linux-image: Strip debug symbols from vmlinux
+ (really closes: #837588)
+
+ -- Ben Hutchings <ben at decadent.org.uk> Fri, 23 Sep 2016 00:50:40 +0100
+
linux (4.7.4-2) unstable; urgency=medium
* [arm64] Revert "arm64: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO"
diff --git a/debian/rules.real b/debian/rules.real
index 895d52b..647cd2d 100644
--- a/debian/rules.real
+++ b/debian/rules.real
@@ -383,7 +383,12 @@ install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR):
dh_testroot
dh_prep
dh_installdirs 'boot'
+ifeq ($(IMAGE_FILE),vmlinux)
+# This is the unprocessed ELF image, so we need to strip debug symbols
+ $(CROSS_COMPILE)objcopy --strip-debug '$(DIR)/vmlinux' $(INSTALL_DIR)/$(IMAGE_INSTALL_STEM)-$(REAL_VERSION)
+else
install -m644 '$(DIR)/$(IMAGE_FILE)' $(INSTALL_DIR)/$(IMAGE_INSTALL_STEM)-$(REAL_VERSION)
+endif
+$(MAKE_SELF) \
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_dt \
DIR='$(DIR)' PACKAGE_DIR='$(PACKAGE_DIR)' REAL_VERSION='$(REAL_VERSION)'
--
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