Skip to content

fix(install): support ostree rpm hosts#1285

Open
drew wants to merge 1 commit intomainfrom
1266-ostree-install
Open

fix(install): support ostree rpm hosts#1285
drew wants to merge 1 commit intomainfrom
1266-ostree-install

Conversation

@drew
Copy link
Copy Markdown
Collaborator

@drew drew commented May 9, 2026

🏗️ build-from-issue-agent

Summary

Adds an ostree-specific install path in install.sh for RPM-based immutable hosts. The installer downloads and verifies RPM assets, extracts payloads into user-local paths, writes a user systemd unit, and starts/registers the local gateway without mutating /usr or requiring reboot.

Related Issue

Closes #1266

Changes

  • install.sh: detect ostree RPM hosts, extract RPM payloads locally, stage CLI/gateway/helper files, generate user unit, and reuse gateway startup.
  • scripts/test-install-ostree.sh: add shell coverage for ostree detection and generated unit contents.
  • tasks/test.toml: include installer shell tests in mise run test.
  • docs/about/installation.mdx, docs/get-started/quickstart.mdx: document ostree user-local install behavior.

Deviations from Plan

Implemented in install.sh because install-dev.sh was renamed before this work.

Testing

  • mise run pre-commit passes
  • Unit tests added/updated
  • E2E tests added/updated (N/A)

Tests added:

  • Unit: scripts/test-install-ostree.sh covers ostree package method detection, generated user unit paths, gateway port, and supervisor image tag selection.
  • Integration: N/A
  • E2E: N/A

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)

Documentation updated:

  • docs/about/installation.mdx
  • docs/get-started/quickstart.mdx

Closes #1266

Install RPM release payloads into user-local paths on ostree hosts so immutable deployments do not require package layering or reboot before starting the gateway service.

Signed-off-by: Drew Newberry <anewberry@nvidia.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 9, 2026

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

Successfully merging this pull request may close these issues.

install-dev.sh: support ostree-based distros (Silverblue, Universal Blue)

1 participant