|
@@ -29,6 +29,14 @@ while read f; do
|
|
continue
|
|
continue
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+ # Skip kernel modules
|
|
|
|
+ # When building a 32-bit userland on 64-bit architectures, the kernel
|
|
|
|
+ # and its modules may still be 64-bit. To keep the basic
|
|
|
|
+ # check-bin-arch logic simple, just skip this directory.
|
|
|
|
+ if [[ "${f}" =~ ^/lib/modules/.* ]]; then
|
|
|
|
+ continue
|
|
|
|
+ fi
|
|
|
|
+
|
|
# Skip files in /usr/share, several packages (qemu,
|
|
# Skip files in /usr/share, several packages (qemu,
|
|
# pru-software-support) legitimately install ELF binaries that
|
|
# pru-software-support) legitimately install ELF binaries that
|
|
# are not for the target architecture
|
|
# are not for the target architecture
|