GitHub binary fetch via go run common/cmd/fetch + configure-dhcp - #21
Merged
Conversation
Wire /etc/init.d/configure-dhcp (binary from networking/configure-dhcp) to run after network so event Omada setups get dnsmasq when detected. Co-authored-by: Cursor <cursoragent@cursor.com>
Add package/micronet (ORAS pull), enable in hub defconfig, and stop installing these binaries from apps/.bin. Co-authored-by: Cursor <cursoragent@cursor.com>
Collaborator
Author
|
Follow-up: removed Go |
Bootstrap dcc-bigfred/.github @ v2 for fetch-github-binaries.sh; replace package fetch-oci wrappers; drop oras from build host deps. Co-authored-by: Cursor <cursoragent@cursor.com>
Collaborator
Author
|
Follow-up: packages now fetch via GitHub Actions/Releases (shared |
Replace .ci-github bootstrap and Python fetch with thin package/*/fetch.sh wrappers. Drop python3-requests host dep; Go is already installed. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Aug 6, 2026
Resolve conflicts by keeping both package refs and moving configure-dhcp into microinit.d/services/os/configure-dhcp.json per main's service layout. Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Intent
Wire the hub OS image to event WiFi DHCP and to the new micronet networking CLIs, while aligning binary delivery with the org-wide migration away from ORAS. Package fetch for
bigfred,microinit, andmicronetshould use the shared Go fetch tool — no.ci-githubclone, no Pythonrequests, noghCLI on the build host.This PR is the integration layer: it consumes binaries from micronet, bigfred, and microinit.
Summary
configure-dhcpmicroinit service (runs afternetwork; no-op without Omada)package/micronet(replaces in-tree Goconfigure-ethernetapp)go run …/cmd/fetch@latestmain/master/sha) → Actions artifactsv*/latest-release→ GitHub Releases.ci-githubbootstrap, ORAS fetch wrappers, andorasfrom build depsinstall-go.shRelated work
main@v0.1.2/v2cmd/fetchconfigure-dhcp,configure-ethernetbinaries + manualsSuggested merge order: common (done) → micronet + bigfred + microinit → this PR.
Test plan
go; tip fetch works with token (e.g.os/package/microinit/fetch.sh main /tmp/out.tar)ghCLIconfigure-dhcpstarts afternetwork; without Omada exits 0configure-ethernet/configure-dhcppresent from micronet package