From 7204578ffb5316c507287c01c152ba7974840757 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 1 Jul 2023 21:54:59 -0400 Subject: sbopkglint: special case /usr/share/qemu. --- sbopkglint.d/20-arch.t.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sbopkglint.d/20-arch.t.sh') 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.$$ -- cgit v1.2.3