feat(installer): support atomic/immutable Linux distros#170
Open
blak0p wants to merge 2 commits into
Open
Conversation
Auto-detect atomic distros (Silverblue, Bazzite, Kinoite, etc.) via /run/ostree-booted, rpm-ostree binary, and os-release ID. In atomic mode, prefer Homebrew over sudo dnf/apt, use flatpak for WezTerm, and skip sudo-based shell changes. Closes Gentleman-Programming#165
|
Hi @Alan-TheGentleman! Do you plan to merge this feature into the main branch? It would be great if the project could support immutable Linux distros. |
|
Hi @blak0p! I use Fedora Silverblue. Do your changes work on it? I'd be happy to test them out if they do. |
Author
|
Hey @masch! Yes, it works. It's built around rpm-ostree in general, not anything Bazzite-specific, so Silverblue should be fine. If you test it and run into anything weird, let me know here. |
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.
Closes #165
Summary
Changes
installer/internal/system/detect.goinstaller/internal/system/exec.goinstaller/internal/system/detect_test.goinstaller/internal/tui/installer.goinstaller/internal/tui/interactive.goinstaller/internal/tui/model.goinstaller/cmd/gentleman-installer/main.goTest Plan
go build ./...compiles without errorsgo test ./internal/system/ -count=1 -shortpasses