diff options
authorYann E. MORIN <>2018-03-07 21:51:24 (GMT)
committerPeter Korsgaard <>2018-03-07 22:03:52 (GMT)
commit1b9a57442d0a234b03585235f516d755372f29b3 (patch)
parent01d90f0d093ff16ab3c1a9466430cee6fb7842d8 (diff)
support/check-bin-arch: exclude kernel modules for merged /usr
When using a merged /usr, the kernel module path is really /usr/lib/modules, as /lib is a symlink to usr/lib . Signed-off-by: "Yann E. MORIN" <> Cc: Thomas Petazzoni <> Cc: Peter Korsgaard <> Reviewed-by: Peter Korsgaard <> Signed-off-by: Peter Korsgaard <>
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt
index eecf6e2..521d6d5 100644
--- a/docs/manual/adding-packages-generic.txt
+++ b/docs/manual/adding-packages-generic.txt
@@ -457,8 +457,8 @@ information is (assuming the package name is +libfoo+) :
to the target directory) to ignore when checking that the package
installs correctly cross-compiled binaries. You seldom need to set this
variable, unless the package installs binary blobs outside the default
- locations, `/lib/firmware`, `/usr/lib/firmware`, `/lib/modules`, and
- `/usr/share`, which are automatically excluded.
+ locations, `/lib/firmware`, `/usr/lib/firmware`, `/lib/modules`,
+ `/usr/lib/modules`, and `/usr/share`, which are automatically excluded.
The recommended way to define these variables is to use the following
diff --git a/support/scripts/check-bin-arch b/support/scripts/check-bin-arch
index d8385b4..7f97696 100755
--- a/support/scripts/check-bin-arch
+++ b/support/scripts/check-bin-arch
@@ -14,6 +14,7 @@ declare -a IGNORES=(
# and its modules may still be 64-bit. To keep the basic
# check-bin-arch logic simple, just skip this directory.
+ "/usr/lib/modules"
# Skip files in /usr/share, several packages (qemu,
# pru-software-support) legitimately install ELF binaries that