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

ARM architecture: Goss + S6 require architecture detection for packages #64

Merged
merged 3 commits into from
Oct 12, 2021

Conversation

bryanlatten
Copy link
Contributor

@bryanlatten bryanlatten commented Oct 9, 2021

Adding ARM as a possible architecture output

  • This is a raw capability, not a supported output...yet.

@bryanlatten bryanlatten added goss goss / dgoss related updates s6-overlay s6-overlay related updates WIP work in progress - do not merge labels Oct 9, 2021
@bryanlatten bryanlatten changed the title Goss / S6: added architecture detection ARM architecture: Goss + S6 require architecture detection for packages Oct 11, 2021
Copy link
Contributor

@ko-be ko-be left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR #64 for arm64 support 😄

if [ "$(uname -m)" = "x86_64" ]; then
echo "[s6 install] Detected x86_64 architecture"
ARCH="amd64"
elif [ "$(uname -m)" = "aarch64" ]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for all of the [ and ] it's better to use [[ and ]] to avoid calling /usr/bin/[

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@bryanlatten bryanlatten merged commit 3a5ddd5 into behance:master Oct 12, 2021
@bryanlatten bryanlatten deleted the multi-arch branch October 12, 2021 01:44
@adobejmong adobejmong added enhancement and removed WIP work in progress - do not merge labels Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement goss goss / dgoss related updates s6-overlay s6-overlay related updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants