aboutsummaryrefslogtreecommitdiff
path: root/sbopkglint.d
diff options
context:
space:
mode:
Diffstat (limited to 'sbopkglint.d')
-rw-r--r--sbopkglint.d/20-arch.t.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/sbopkglint.d/20-arch.t.sh b/sbopkglint.d/20-arch.t.sh
index 8997709..ee1410c 100644
--- a/sbopkglint.d/20-arch.t.sh
+++ b/sbopkglint.d/20-arch.t.sh
@@ -77,10 +77,14 @@ if [ -n "$WRONGDIR" ]; then
# 20230701 bkw: special case for /usr/share/qemu, it contains BIOS and such
# for emulated systems, some of which are ELF binaries.
# 20241008 bkw: special cases for firmware dirs.
+ # 20260921 bkw: special case for "q" as its macro debugger is based
+ # on gdb and won't work if the binary is stripped. weird design
+ # choice, but *shrug*.
find * -type f \
-a \! -path usr/share/qemu/\* \
-a \! -path usr/share/alsa/firmware/\* \
-a \! -path lib/firmware/\* \
+ -a \! -path usr/bin/q \
-print0 | \
xargs -0 file -m /etc/file/magic/elf | \
grep 'ELF.*\(executable\|shared object\)' > .tmp.$$