richardphibel / rpms / rpm

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