aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorGravatar Samuel Martin <s.martin49@gmail.com>2016-04-19 23:49:00 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-04-21 22:17:36 +0200
commitbf8f0136e97f40eeb00240ac63760ed9fb84d0aa (patch)
tree88d655f3e621ce2b99e6036426108ca666123385 /support
parent1438d52eb529cc0e782c05271b64ec3002223373 (diff)
downloadbuildroot-bf8f0136e97f40eeb00240ac63760ed9fb84d0aa.tar.gz
buildroot-bf8f0136e97f40eeb00240ac63760ed9fb84d0aa.tar.bz2
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')
-rwxr-xr-xsupport/scripts/check-host-rpath2
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/' \
)