diff options
Diffstat (limited to 'sbopkglint.d/20-arch.t.sh')
-rw-r--r-- | sbopkglint.d/20-arch.t.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sbopkglint.d/20-arch.t.sh b/sbopkglint.d/20-arch.t.sh index 462a3c6..2b8268c 100644 --- a/sbopkglint.d/20-arch.t.sh +++ b/sbopkglint.d/20-arch.t.sh @@ -31,7 +31,9 @@ case "$ARCH" in esac if [ -n "$WRONGDIR" ]; then - find * -type f -print0 | \ + # 20230701 bkw: special case for /usr/share/qemu, it contains BIOS and such + # for emulated systems, some of which are ELF binaries. + find * -type f -a \! -path usr/share/qemu/\* -print0 | \ xargs -0 file -m /etc/file/magic/elf | \ grep 'ELF.*\(executable\|shared object\)' > .tmp.$$ |