chantra / rpms / rpm

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