[1/1] support/scripts: add node modules to check-bin-arch's IGNORES list
diff mbox series

Message ID 20190531075800.7064-1-vcrini@gmail.com
State New
Headers show
Series
  • [1/1] support/scripts: add node modules to check-bin-arch's IGNORES list
Related show

Commit Message

Valerio Crini May 31, 2019, 7:58 a.m. UTC
From: Valerio Crini <valerio.crini@docomodigital.com>

Some node modules as stf ship compiled binaries causing check-bin-arch script
to return errors.

Signed-off-by: Valerio Crini <valerio.crini@docomodigital.com>
---
 support/scripts/check-bin-arch | 5 +++++
 1 file changed, 5 insertions(+)

Patch
diff mbox series

diff --git a/support/scripts/check-bin-arch b/support/scripts/check-bin-arch
index 3449bd1aeb..a276b75b92 100755
--- a/support/scripts/check-bin-arch
+++ b/support/scripts/check-bin-arch
@@ -25,6 +25,11 @@  declare -a IGNORES=(
 	# it for a different architecture (e.g. i386 grub on x86_64).
 	"/lib/grub"
 	"/usr/lib/grub"
+
+	# Skip files in /usr/lib/node_modules, since it is possible to have it
+	# for a different architecture (e.g. stf module has some packages already
+	# compiled for several architectures).
+	"/usr/lib/node_modules"
 )
 
 while getopts p:l:r:a:i: OPT ; do