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 ARM targets #10

Open
jclsn opened this issue May 25, 2022 · 3 comments
Open

Support for ARM targets #10

jclsn opened this issue May 25, 2022 · 3 comments

Comments

@jclsn
Copy link

jclsn commented May 25, 2022

Is your feature request related to a problem? Please describe.
I just tried this out on a Yocto installation on an ARM board. xxh downloaded the x86_64 zsh and tried to run it. Since this is imo one of the biggest use cases, I think xxh should automatically detect this.

Describe the solution you'd like
Detect the archtitecture and download the right binary.

❯ xxh root@my-machine
my-machine:/home/root/.xxh/.xxh/shells/xxh-shell-zsh not found. Install xxh-shell-zsh? [Y/n] Y
Install xxh-shell-zsh to my-machine:/home/root/.xxh
First time upload using rsync (this will be omitted on the next connections)
First run xxh-shell-zsh on my-machine
Something went wrong while running zsh on host:
./zsh.sh: line 28: /home/root/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/bin/zsh: cannot execute binary file: Exec format error
/home/root/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh.sh: line 28: /home/root/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/bin/zsh: cannot execute binary file: Exec format error
@anki-code anki-code transferred this issue from xxh/xxh May 25, 2022
@anki-code
Copy link
Member

anki-code commented May 25, 2022

Hi! You can fork this repo and replace the zsh-bin binary to the arm version from https://github.com/romkatv/zsh-bin/releases

@kinchahoy
Copy link

Could this be automated in xxh-shell-zsh?

@anki-code
Copy link
Member

yes, PR is welcome!

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

No branches or pull requests

3 participants