diff options
author | Samuel Martin <s.martin49@gmail.com> | 2016-04-19 23:49:00 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-04-21 22:17:36 +0200 |
commit | bf8f0136e97f40eeb00240ac63760ed9fb84d0aa (patch) | |
tree | 88d655f3e621ce2b99e6036426108ca666123385 /support/scripts/check-host-rpath | |
parent | 1438d52eb529cc0e782c05271b64ec3002223373 (diff) | |
download | buildroot-bf8f0136e97f40eeb00240ac63760ed9fb84d0aa.tar.gz buildroot-bf8f0136e97f40eeb00240ac63760ed9fb84d0aa.zip |
support/scripts/check-host-rpath: also check HOST_DIR/{bin, sbin}
At least syslinux is installing stuff in HOST_DIR/sbin.
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support/scripts/check-host-rpath')
-rwxr-xr-x | support/scripts/check-host-rpath | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/scripts/check-host-rpath b/support/scripts/check-host-rpath index 48d69dae63..6ce547cb04 100755 --- a/support/scripts/check-host-rpath +++ b/support/scripts/check-host-rpath @@ -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}"/{,usr/}{bin,sbin} -type f -exec file {} + 2>/dev/null \ |sed -r -e '/^([^:]+):.*\<ELF\>.*\<executable\>.*/!d' \ -e 's//\1/' \ ) |