balena-os / wifi-connect

Easy WiFi setup for Linux devices from your mobile phone or laptop
Apache License 2.0
1.3k stars 365 forks source link

Deploying to rpi arch erroring #581

Closed ryanrolds closed 4 months ago

ryanrolds commented 4 months ago

When pushing to an rpi architecture fleet with the Balena CLI, I'm seeing:

...
[bridge]        Successfully built c62c120b6597
[Info]          Uploading images
[Success]       Successfully uploaded images
[Error]         Some services failed to build:
[Error]           Service: wifi-connect
[Error]             Error: The command '/bin/sh -c export BASE_URL="https://github.com/balena-os/wifi-connect/releases" &&    case $BALENA_ARCH in         "aarch64")             BINARY_ARCH_NAME="aarch64-unknown-linux-gnu" ;;         "amd64")             BINARY_ARCH_NAME="x86_64-unknown-linux-gnu" ;;        "armv7hf")             BINARY_ARCH_NAME="armv7-unknown-linux-gnueabihf" ;;        *)             echo >&2 "error: unsupported architecture ($BALENA_ARCH)"; exit 1 ;;     esac;    if [ ${VERSION} = "latest" ]; then         export URL_PARTIAL="latest/download" ;     else         export URL_PARTIAL="download/${VERSION}" ;     fi;     curl -Ls "$BASE_URL/$URL_PARTIAL/wifi-connect-$BINARY_ARCH_NAME.tar.gz"     | tar -xvz -C  /usr/src/app/' returned a non-zero code: 1
[Info]          Built on c617b98
[Error]         Not deploying release.

It looks like a binary for rpi isn't being built. The documentation says that wifi-connects works with all boards support by Balena, which the RPi W and 3 are support by Balena.

ryanrolds commented 4 months ago

Duplicate of https://github.com/balena-os/wifi-connect/issues/560