diff mbox

[v9] support/scripts/check-host-rpath: also check HOST_DIR/{bin, sbin}

Message ID 1461102541-5987-1-git-send-email-s.martin49@gmail.com
State Accepted
Headers show

Commit Message

Samuel Martin April 19, 2016, 9:49 p.m. UTC
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>

---
changes v8->v9:
- none
- move out of the RPATH series

changes v7->v8:
- none

changes v6->v7:
- new patch
---
 support/scripts/check-host-rpath | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Thomas Petazzoni April 21, 2016, 8:17 p.m. UTC | #1
Hello,

On Tue, 19 Apr 2016 23:49:00 +0200, Samuel Martin wrote:
> 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>
> 
> ---
> changes v8->v9:
> - none
> - move out of the RPATH series

Applied to master, thanks. One less patch in your big series :)

Thomas
diff mbox

Patch

diff --git a/support/scripts/check-host-rpath b/support/scripts/check-host-rpath
index 48d69da..6ce547c 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/'                                                  \
             )