mpous / basicstation

LoRa Basics™ Station - The LoRaWAN Gateway Software
https://doc.sm.tc/station
59 stars 30 forks source link

raspberrypi depolyment faild #18

Closed piechade closed 3 years ago

piechade commented 3 years ago

Balena not building basic-station for rpi.

[main]     platform=rpi variant=std make -C deps/mbedtls
[main]     make[1]: Entering directory '/usr/src/app/deps/mbedtls'
[main]     platform=rpi variant=std ./prep.sh
[main]     /bin/sh: 1: ./prep.sh: Permission denied
[main]
[main]     make[1]: *** [makefile:55: platform-rpi] Error 126
[main]
[main]     make[1]: Leaving directory '/usr/src/app/deps/mbedtls'
[main]     make: *** [makefile:67: deps/mbedtls] Error 2
[main]
[main]     Removing intermediate container 95fc199388ee
[main]     The command '/bin/sh -c make platform=rpi variant=std arch=rpi' returned a non-zero code: 2
mpous commented 3 years ago

That's weird! Could you please tell more details about what Raspberry Pi did you use and what app did you create at balena? Thanks @piechade

piechade commented 3 years ago

I fixed it already, I called for every .sh script chmod +x. I'm using docker on Windows to create it. The scripts are simply not runnable.