alexk / rpms / rpm

Forked from rpms/rpm 2 years ago
Clone
5523e9
From 659614aeb6fffe3b249c12b442bd85129100f73b Mon Sep 17 00:00:00 2001
5523e9
From: Pascal Terjan <pterjan@gmail.com>
5523e9
Date: Mon, 16 Feb 2015 13:08:50 +0100
5523e9
Subject: [PATCH] Fix debuginfo creation for changed file output.
5523e9
5523e9
file will print a "warning" that it only processed up to 256 notes.
5523e9
Fixes: http://rpm.org/ticket/887
5523e9
---
5523e9
 scripts/find-debuginfo.sh | 2 +-
5523e9
 1 file changed, 1 insertion(+), 1 deletion(-)
5523e9
5523e9
diff --git a/scripts/find-debuginfo.sh b/scripts/find-debuginfo.sh
5523e9
index 57449f7..264fad5 100644
5523e9
--- a/scripts/find-debuginfo.sh
5523e9
+++ b/scripts/find-debuginfo.sh
5523e9
@@ -205,7 +205,7 @@ $strict || strict_error=WARNING
5523e9
 find "$RPM_BUILD_ROOT" ! -path "${debugdir}/*.debug" -type f \
5523e9
      		     \( -perm -0100 -or -perm -0010 -or -perm -0001 \) \
5523e9
 		     -print |
5523e9
-file -N -f - | sed -n -e 's/^\(.*\):[ 	]*.*ELF.*, not stripped/\1/p' |
5523e9
+file -N -f - | sed -n -e 's/^\(.*\):[ 	]*.*ELF.*, not stripped.*/\1/p' |
5523e9
 xargs --no-run-if-empty stat -c '%h %D_%i %n' |
5523e9
 while read nlinks inum f; do
5523e9
   get_debugfn "$f"
5523e9
-- 
5523e9
2.1.0
5523e9