summaryrefslogtreecommitdiffstats
path: root/support/scripts
diff options
context:
space:
mode:
authorArnout Vandecappelle <arnout@mind.be>2017-07-04 16:03:54 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 11:45:58 +0200
commit2295780a950cbcd8eb76b01ceb15503b0f973f55 (patch)
tree110259040d726548c0f22926cf93fe29a9ef70f3 /support/scripts
parent14151d77af20ec50eeba6e30465debf87b35faaa (diff)
downloadbuildroot-2295780a950cbcd8eb76b01ceb15503b0f973f55.tar.gz
buildroot-2295780a950cbcd8eb76b01ceb15503b0f973f55.zip
check-host-rpath: no longer check $(HOST_DIR)/usr/{bin, sbin}
Since $(HOST_DIR)/usr/{bin,sbin} are now symlinks to $(HOST_DIR)/{bin,sbin}, it makes no sense to check them - they are already covered. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support/scripts')
-rwxr-xr-xsupport/scripts/check-host-rpath4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/scripts/check-host-rpath b/support/scripts/check-host-rpath
index adabfdf53f..2846d5eb51 100755
--- a/support/scripts/check-host-rpath
+++ b/support/scripts/check-host-rpath
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-# This script scans $(HOST_DIR)/{,usr/}{bin,sbin} for all ELF files, and checks
+# This script scans $(HOST_DIR)/{bin,sbin} for all ELF files, and checks
# they have an RPATH to $(HOST_DIR)/{,usr/}lib if they need libraries from
# there.
@@ -26,7 +26,7 @@ main() {
printf "*** ERROR: package %s installs executables without proper RPATH:\n" "${pkg}"
fi
printf "*** %s\n" "${file}"
- done < <( find "${hostdir}"/{,usr/}{bin,sbin} -type f -exec file {} + 2>/dev/null \
+ done < <( find "${hostdir}"/{bin,sbin} -type f -exec file {} + 2>/dev/null \
|sed -r -e '/^([^:]+):.*\<ELF\>.*\<executable\>.*/!d' \
-e 's//\1/' \
)
OpenPOWER on IntegriCloud