Skip to content

Commit d4b0216

Browse files
kou029wcoolaj86
authored andcommitted
Add support for armv6l architecture in install script for Raspberry Pi Zero
## Environment - Device: Raspberry Pi Zero - Operating System: Linux 6.6.31+rpi-rpi-v6 - Architecture: armv6l ## Issue The install script https://webinstall.dev/api/installers/[email protected] fails to execute on Raspberry Pi Zero due to an invalid architecture value derived from the User-Agent string. Example User-Agent string: `Linux/6.6.31+rpi-rpi-v6 armv6l/unknown gnu` ``` ### https://github.com/webinstall/webi-installers/blob/5c12cb1fa7f01c851de912344a9d29e288ce6215/webi/webi.sh#L77C1-L86C1 $ echo $WEBI_UA Linux/6.6.31+rpi-rpi-v6 armv6l/unknown gnu ``` ## Changes Updated the architecture detection map to include armv6l.
1 parent 2c48cab commit d4b0216

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

host-targets.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ HostTargets.TERMS = {
9090
arm64: { arch: 'aarch64' },
9191
aarch64: { arch: 'aarch64' },
9292
armv7l: { arch: 'armv7' },
93+
armv6l: { arch: 'armv6' },
9394
earmv6hf: { arch: 'armhf' },
9495
arm: {},
9596
evbarm: {},

0 commit comments

Comments
 (0)