feat: add Arch Linux easy install support#61
Open
mswell wants to merge 1 commit intoattacksurge:masterfrom
Open
feat: add Arch Linux easy install support#61mswell wants to merge 1 commit intoattacksurge:masterfrom
mswell wants to merge 1 commit intoattacksurge:masterfrom
Conversation
Add full Arch Linux (and derivatives) support to the easy install flow. Previously, Arch-based distros were detected as "unknown-Linux" and fell into Debian/apt code paths that failed. Changes: - Add detect_os() to vars.sh using /etc/os-release with ID_LIKE fallback for derivatives (CachyOS, EndeavourOS, Garuda, etc.) - Fix OS detection in axiom-configure with /etc/os-release fallback - Fix zsh_shell() and omz_shell() to use pacman on Arch - Add Arch branches to aws.sh, azure.sh (pip), gcp.sh (standalone archive) - Replace lsb_release detection with detect_os() in all account helpers - Fix Packer install in axiom-account to use pacman on Arch - Simplify IBM account helpers (curl installer is distro-agnostic) - Update README: Arch Easy Install "No" -> "Yes" Tested on CachyOS (ID=cachyos, ID_LIKE=arch).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
detect_os()function tovars.shthat uses/etc/os-releasewithID_LIKEfallback, supporting Arch derivatives (CachyOS, EndeavourOS, Garuda, ArcoLinux, etc.)axiom-configure,axiom-account, and all 10 account helpers — replacing fragilelsb_releasechecks with the newdetect_os()functionzsh_shell()andomz_shell()inaxiom-configureto usepacmanon Arch instead of hardcodedaptpip install), GCP (standalone archive)axiom-accountto usepacmanon ArchNo→YesTest plan
ID=cachyos,ID_LIKE=arch) —detect_oscorrectly returnsArchaxiom-configure --rundetects Arch, installs deps via pacman, completes shell setupaxiom-accountPacker install uses pacman on Arch (with--overwritefor existing binaries)lsb_releaseis still used as primary detection)