aboutsummaryrefslogtreecommitdiff
path: root/sbopkglint.d/20-arch.t.sh
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-09-21 03:39:31 -0400
committerB. Watson <urchlay@slackware.uk>2026-09-21 03:39:31 -0400
commit6b7d71b47967e04430a68fd0a44da1d1eb51fb54 (patch)
treeb6869e0f76e523f40540fee548b80d1d100bb0eb /sbopkglint.d/20-arch.t.sh
parent0110f281b79a6e868409f520e8f7e15c24ec6e81 (diff)
downloadsbo-maintainer-tools-6b7d71b47967e04430a68fd0a44da1d1eb51fb54.tar.gz
sbopkglint: special case for "usr/bin/q".
Diffstat (limited to 'sbopkglint.d/20-arch.t.sh')
-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.$$