[debhelper-devel] [debhelper] 01/01: dh_strip: Always compress debug symbols in ddebs
Niels Thykier
nthykier at moszumanska.debian.org
Tue Jul 28 20:49:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository debhelper.
commit 1be759979f46f1e388b05c4d53ec78a939a0f32d
Author: Niels Thykier <niels at thykier.net>
Date: Tue Jul 28 22:01:09 2015 +0200
dh_strip: Always compress debug symbols in ddebs
Signed-off-by: Niels Thykier <niels at thykier.net>
---
debian/changelog | 2 ++
dh_strip | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 76bfb0f..650b294 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,8 @@ debhelper (9.20150629) UNRELEASED; urgency=medium
dpkg-architecture to determine if an architecture matches
a wildcard. Heavily based on a patch from Guillem Jover.
(Closes: #793443)
+ * dh_strip: Always compress debug sections of debug symbols
+ in ddebs.
-- Niels Thykier <niels at thykier.net> Sun, 28 Jun 2015 15:08:19 +0200
diff --git a/dh_strip b/dh_strip
index ea86300..958e150 100755
--- a/dh_strip
+++ b/dh_strip
@@ -243,10 +243,11 @@ sub make_debug {
if (! -d $debug_dir) {
install_dir($debug_dir);
}
- if (compat(8)) {
+ if (compat(8) && $use_build_id < 2) {
doit($objcopy, "--only-keep-debug", $file, $debug_path);
}
else {
+ # Compat 9 OR a ddeb.
doit($objcopy, "--only-keep-debug", "--compress-debug-sections", $file, $debug_path);
}
# No reason for this to be executable.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git
More information about the debhelper-devel
mailing list