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

Support for linux/armv7 #542

Closed
wginolas opened this issue Jan 2, 2020 · 4 comments · Fixed by #543
Closed

Support for linux/armv7 #542

wginolas opened this issue Jan 2, 2020 · 4 comments · Fixed by #543
Labels
bug Something isn't working in dependency In a dependency, not in chezmoi patience Patience required, there is no date for this being fixed

Comments

@wginolas
Copy link

wginolas commented Jan 2, 2020

Hi,

I am trying to install chezmoi on my Raspberry Pi and I get this message:

$ curl -sfL https://git.io/chezmoi | sh
twpayne/chezmoi crit platform linux/armv7 is not supported.  Make sure this script is up-to-date and file request at https://github.com/twpayne/chezmoi/issues/new
@twpayne twpayne added the bug Something isn't working label Jan 2, 2020
@twpayne
Copy link
Owner

twpayne commented Jan 2, 2020

Oops, sorry about that. The v1.7.10 arm build for linux should work on the Raspberry Pi. I think the bug here is in godownloader, but I need to do more investigation.

@twpayne
Copy link
Owner

twpayne commented Jan 13, 2020

Oops again, it turns out that #543 was not the correct fix. The underlying status is:

  • chezmoi has builds for linux/arm6 which work on the Raspberry Pi.
  • chezmoi's install script is generated by godownloader which currently does not differentiate between arm versions.
  • godownloader is currently unmaintained, so any fix will take a bit of time.

I've reverted the incorrect fix from #543 in #565. linux/arm7 uses can still use the arm builds (which target arm6), but will need to do a manual install. I'll update the installation instructions to reflect this.

In the meantime, I'll re-open this bug as it's not fixed.

@twpayne twpayne reopened this Jan 13, 2020
@twpayne twpayne added the in dependency In a dependency, not in chezmoi label Apr 8, 2020
@twpayne twpayne added the patience Patience required, there is no date for this being fixed label Apr 18, 2020
@jmc265
Copy link

jmc265 commented Aug 7, 2020

The arm build works on Raspberry PI:

mkdir chezmoi
cd chezmoi
wget https://github.com/twpayne/chezmoi/releases/download/v1.8.3/chezmoi_1.8.3_linux_arm.tar.gz
tar -xvf chezmoi_1.8.3_linux_arm.tar.gz
./chezmoi ...

@twpayne
Copy link
Owner

twpayne commented Apr 7, 2021

I think this issue is now fixed: curl -fsSL https://git.io/chezmoi | sh installs a working binary on my Raspberry Pi 3 & 4. It's possible that it doesn't work on RPis 1 & 2 though, but I no longer have a mine to test on. Please re-open this issue if this is not fixed for you. Thanks for reporting this :)

@twpayne twpayne closed this as completed Apr 7, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working in dependency In a dependency, not in chezmoi patience Patience required, there is no date for this being fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants