feat: install dbus/dbus-daemon dependency if dbus-run-session is missing#14
Merged
Conversation
|
Documentation Updates 1 document(s) were updated by changes in this PR: Getting Started with the AetherPak CLIView Changes@@ -39,7 +39,7 @@
|---|---|---|
| `version` | `latest` | CLI version tag to install (e.g. `v0.15.1`). Use `latest` to always pull the newest release. |
| `repo` | `aetherpak/cli` | GitHub repository to download releases from. |
-| `install-dependencies` | `true` | When `true`, installs missing system packages: `flatpak`, `ostree`, `flatpak-builder`, `patch`, `unzip`, `bzip2`, and `zstd`. Uses `apt-get`, `dnf`, or `microdnf` depending on the runner. |
+| `install-dependencies` | `true` | When `true`, installs missing system packages: `flatpak`, `ostree`, `flatpak-builder`, `patch`, `unzip`, `bzip2`, `zstd`, and `dbus` / `dbus-daemon` (when `dbus-run-session` is missing). Uses `apt-get`, `dnf`, or `microdnf` depending on the runner. Package names vary by distro: Debian/Ubuntu installs `dbus`; Red Hat-based systems install `dbus-daemon`. |
The action is **idempotent** — if the requested version is already on `PATH`, it skips the download entirely [[7]](https://github.com/aetherpak/setup-cli/blob/7c2dbc3f3cf30d21e2a7770773c1ff7b68d2db93/action.yml#L120-L134). It supports Linux runners only (amd64 and arm64) and installs the binary to `$RUNNER_TEMP/aetherpak-bin` [[8]](https://github.com/aetherpak/setup-cli/blob/7c2dbc3f3cf30d21e2a7770773c1ff7b68d2db93/action.yml#L136-L176).
|
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.
No description provided.