mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
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" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Peter Korsgaard <peter@korsgaard.com> Reviewed-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
01d90f0d09
commit
1b9a57442d
@ -457,8 +457,8 @@ information is (assuming the package name is +libfoo+) :
|
|||||||
to the target directory) to ignore when checking that the package
|
to the target directory) to ignore when checking that the package
|
||||||
installs correctly cross-compiled binaries. You seldom need to set this
|
installs correctly cross-compiled binaries. You seldom need to set this
|
||||||
variable, unless the package installs binary blobs outside the default
|
variable, unless the package installs binary blobs outside the default
|
||||||
locations, `/lib/firmware`, `/usr/lib/firmware`, `/lib/modules`, and
|
locations, `/lib/firmware`, `/usr/lib/firmware`, `/lib/modules`,
|
||||||
`/usr/share`, which are automatically excluded.
|
`/usr/lib/modules`, and `/usr/share`, which are automatically excluded.
|
||||||
|
|
||||||
The recommended way to define these variables is to use the following
|
The recommended way to define these variables is to use the following
|
||||||
syntax:
|
syntax:
|
||||||
|
@ -14,6 +14,7 @@ declare -a IGNORES=(
|
|||||||
# and its modules may still be 64-bit. To keep the basic
|
# and its modules may still be 64-bit. To keep the basic
|
||||||
# check-bin-arch logic simple, just skip this directory.
|
# check-bin-arch logic simple, just skip this directory.
|
||||||
"/lib/modules"
|
"/lib/modules"
|
||||||
|
"/usr/lib/modules"
|
||||||
|
|
||||||
# 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user