You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add RPM support to bashbrew-host-arch.sh (via querying RPM's own architecture)
This should be more reliable/correct than `uname -m` (because we're almost always looking for the *userspace* architecture, not the kernel architecture).
echo>&2"warning: neither of 'dpkg' or 'apk' found, falling back to 'uname'"
16
18
arch="$tryArch"
@@ -28,7 +30,8 @@ case "$arch" in
28
30
amd64 | x86_64) found 'amd64' ;;
29
31
arm64 | aarch64) found 'arm64v8' ;;
30
32
armel) found 'arm32v5' ;;
31
-
armv7) found 'arm32v7' ;;
33
+
armv6*) found 'arm32v6' ;;
34
+
armv7*) found 'arm32v7' ;;
32
35
i[3456]86 | x86) found 'i386' ;;
33
36
mips64el) found 'mips64le' ;; # TODO "uname -m" is just "mips64" (which is also "apk --print-arch" on big-endian MIPS) so we ought to disambiguate that somehow
0 commit comments