[debhelper-devel] [debhelper] 01/02: dh_strip: Fix handling of hardlinked ELF when using build-ids

Niels Thykier nthykier at moszumanska.debian.org
Fri Jul 1 20:34:41 UTC 2016


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

nthykier pushed a commit to branch master
in repository debhelper.

commit 6307207499e493acd32b3043949a2982ca9d4e90
Author: Sven Joachim <svenjoac at gmx.de>
Date:   Fri Jul 1 20:24:14 2016 +0000

    dh_strip: Fix handling of hardlinked ELF when using build-ids
    
    Improve handling of hardlinked ELF files when extracting dbgsyms using
    build-ids.  This patches does not cover manual dbg packages under
    compat 8 or older.
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 dh_strip | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dh_strip b/dh_strip
index 8d00e97..7d40c24 100755
--- a/dh_strip
+++ b/dh_strip
@@ -276,7 +276,8 @@ sub make_debug {
 	}
 	else {
 		# Compat 9 OR a dbgsym package.
-		doit($objcopy, "--only-keep-debug", "--compress-debug-sections", $file, $debug_path);
+		doit($objcopy, "--only-keep-debug", "--compress-debug-sections", $file, $debug_path)
+			unless -e $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