Skip to content

Add an Entware opkg package and feed - #5

Merged
xbmc4lyfe merged 1 commit into
mainfrom
claude/entware-opkg
Oct 31, 2026
Merged

xbmc4lyfe merged 1 commit into
mainfrom
claude/entware-opkg

Conversation

@xbmc4lyfe

Copy link
Copy Markdown
Contributor

Requested by xbmc4lyfe

Summary

Closes #3.

  • Package: just build-opkg builds an aarch64-3.10 Entware package with /opt/bin/warmup-rs, the metadata and image systemd units, and /opt/etc/warmup-rs.env.
  • API key: the key goes in the settings file, which has mode 600 and is an opkg conffile, so upgrades keep it.
  • Install scripts: a new install copies the units to /storage/.config/system.d and starts nothing, because the services need a key. An upgrade restarts running services and leaves them enabled. Removal stops and disables the services and removes the units.
  • Feed: the docs workflow builds the package and publishes it with the site at https://appz4fun.github.io/tmdbhelper/opkg/aarch64-k3.10. The workflow moves to an arm64 runner, so the musl build is native.
  • Docs: adds the Entware package page and updates the README, the other site pages, and TODO.md, where only the Kodi add-on remains. Vale now also checks the text in packaging/.

Testing

  • Real Entware opkg in an arm64 Alpine container, with a local HTTP feed and a stub systemctl: install, --mode=smoke, upgrade with an edited settings file, and removal. This found that opkg runs prerm on upgrades too, so the scripts now check PKG_UPGRADE.
  • wget-ssl and ca-bundle from Entware fetch an HTTPS feed in the same container.
  • systemd-analyze verify on both units. just lint, just test, just vale-lint, and just site pass.

Not tested: a CoreELEC device with real systemd, and the published feed URL, which goes live when this merges.

🤖 Generated with Claude Code

just build-opkg packages the static arm64 binary, two systemd units, and a
settings file that upgrades keep. The install scripts put the units in
/storage/.config/system.d, start nothing on a new install, restart running
services on an upgrade, and clean up on removal.

The docs workflow moves to an arm64 runner, builds the feed, and publishes it
with the site at /opkg/aarch64-k3.10. Vale now also checks the text in
packaging/.

Closes #3.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@xbmc4lyfe xbmc4lyfe self-assigned this Oct 31, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-31T18:25:12.583395Z 2b7d559 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@xbmc4lyfe
xbmc4lyfe merged commit 5f775dc into main Oct 31, 2026
2 checks passed
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.

Package warmup-rs as an opkg package for Entware

1 participant