[Reproducible-commits] [debhelper] 08/56: Check that we're actually building debug debs when writing build-ids
Mattia Rizzolo
mattia at mapreri.org
Sun Oct 4 17:06:13 UTC 2015
This is an automated email from the git hooks/post-receive script.
mapreri-guest pushed a commit to branch master
in repository debhelper.
commit d0fcc413849a22a0e904726fbe3a8b94cacc8fb0
Author: Paul Tagliamonte <paultag at debian.org>
Date: Tue Aug 18 20:02:08 2015 +0200
Check that we're actually building debug debs when writing build-ids
In the event we're not building a debug deb, we don't have a directory
to write into. This change will ensure that we're building at least
one debug-deb before writing, so we can be sure the folder exists.
Signed-off-by: Niels Thykier <niels at thykier.net>
---
dh_strip | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dh_strip b/dh_strip
index 0cb98eb..7149e14 100755
--- a/dh_strip
+++ b/dh_strip
@@ -254,7 +254,7 @@ sub make_debug {
doit($objcopy, "--only-keep-debug", "--compress-debug-sections", $file, $debug_path);
}
- if ($use_build_id) {
+ if ($use_build_id > 1) {
my $path = "debian/.debhelper/${package}/ddeb-build-ids";
open(my $fd, '>>', $path) or error("open $path failed: $!");
print {$fd} "$debug_build_id ";
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debhelper.git
More information about the Reproducible-commits
mailing list