Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install script does not work on Raspberry Pi Zero #1284

Closed
michidk opened this issue Jul 25, 2022 · 5 comments · Fixed by #2214
Closed

Install script does not work on Raspberry Pi Zero #1284

michidk opened this issue Jul 25, 2022 · 5 comments · Fixed by #2214

Comments

@michidk
Copy link
Contributor

michidk commented Jul 25, 2022

Running the script (the first time) returns the following error:

pi@raspberrypi:~ $ curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to DEST
install: error: Could not determine target from output of `uname -m`-`uname -s`, please use `--target`: armv6l-Linux

Running it again or with sudo won't return anything:

pi@raspberrypi:~ $ curl --proto '=https' --tlsv1.2 -sS^Chttps://just.systems/install.sh | bash -s -- --to DEST
pi@raspberrypi:~ $ sudo curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to DEST
pi@raspberrypi:~ $ 

OS/Arch:

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 5.10.63+ #1459 Wed Oct 6 16:40:27 BST 2021 armv6l GNU/Linux
@casey
Copy link
Owner

casey commented Jul 25, 2022

Interesting! I'm not familiar with the armv6l target. We have an aarch64-Linux target. If someone can figure out how to build on GitHub Actions CI for armv6l, then we can add it to the release script and publish binaries that will work on the zero.

@Dygear
Copy link

Dygear commented Dec 27, 2023

For what it's worth, this does work on a Raspberry Pi 5 (armv8, aarch64). The install script uses the musl variant. Needed this to be able to compile Cosmic on the Raspberry Pi 5.

@YDX-2147483647

This comment was marked as outdated.

@YDX-2147483647
Copy link

After #1715 is merged, I guess --target arm-unknown-linux-musleabihf should work and we can closed this issue?

@Dygear
Copy link

Dygear commented Dec 29, 2023

You can also just run cargo install just and it will also work. So I say close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants