From fa960de4b3f337a461481fb0687a34e2a73880d0 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 14 Feb 2023 12:59:30 -0500 Subject: Bump VERSION, sbopkglint preliminary arm and aarch64 support. --- sbopkglint.d/20-arch.t.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (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 376074d..6ad2d72 100644 --- a/sbopkglint.d/20-arch.t.sh +++ b/sbopkglint.d/20-arch.t.sh @@ -15,16 +15,19 @@ # if an x86_64 package has any 32-bit ELF objects (libs or bins) # if an i?86 package has lib64 or usr/lib64 at all # if an x86_64 package has 64-bit libs in lib or usr/lib +# same 32/64 checking for arm (32-bit) and aarch64 (64-bit) # note: sometimes files in /lib/firmware are ELF, and would cause # false "wrong directory" warnings, so we exclude that dir from the # search. case "$ARCH" in - noarch) ;; # ok, do nothing. - i?86) WRONGDIR="lib64"; CPU="80386" ;; - x86_64) WRONGDIR="lib"; CPU="x86-64" ;; - *) warn "ARCH isn't noarch, i?86, or x86_64. don't know how to check binaries." ;; + noarch) ;; # ok, do nothing. + i?86) WRONGDIR="lib64"; CPU="80386" ;; + x86_64) WRONGDIR="lib"; CPU="x86-64" ;; + aarch64) WRONGDIR="lib"; CPU="aarch64" ;; + arm) WRONGDIR="lib64"; CPU="ARM" ;; + *) warn "ARCH isn't noarch, i?86, x86_64, arm, or aarch64. don't know how to check binaries." ;; esac INWRONGDIR="" -- cgit v1.2.3