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

Enable arm64 support #27

Open
pierregondois opened this issue Apr 29, 2021 · 1 comment
Open

Enable arm64 support #27

pierregondois opened this issue Apr 29, 2021 · 1 comment

Comments

@pierregondois
Copy link

Hello,
I am trying to run alpine-chroot-install on an arm64 machine. The script downloads and uses an x86_64 binary of apk.
https://github.com/alpinelinux/alpine-chroot-install/blob/master/alpine-chroot-install#L81

Would it be possible to:

  1. Release an arm64 version of apk (and maybe an armeabi version aswell ?)
  2. Modify script to download the right version of apk depending on the arch of the machine

Regards

@theoparis
Copy link

It seems like it's possible by using environment variables and the arch argument:

APK_TOOLS_URI="https://gitlab.alpinelinux.org/api/v4/projects/5/packages/generic/v2.12.9/aarch64/apk.static" \
APK_TOOLS_SHA256="0164d47954c8a52e8ed10db1633174974a3b1e4182a1993a5a8343e394ee1bbc" \
  alpine-chroot-install \
 -a aarch64 \
 -d ...

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

2 participants