ka-build: arch makepkg wrapper + sign + publish (closes #34) #35
Reference in New Issue
Block a user
Delete Branch "noether/ka-build-impl"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #34. Per umbrella #21 — second of three verbs (ka-status ✓, ka-promote ✓ via #22/#31, ka-build now, ka-install next).
What it does
ka-build <host>runs the manual-substitute path fromREADME:227end-to-end:build/<host>/<baseline_ref>/manifest.lock(output of ka-promote). Refuses if missing — "run ka-promote first".marfrit-packages/arch/<package.name>/against the kernel-agent-side patch's recorded sha256 inmanifest.lock. Refuses on drift — operator must sync first (intentional: ka-build verifies, doesn't author).makepkg --syncdeps --noconfirm --cleanbuildtobuild_host.primary(boltzmann for fresnel/ampere, fermi as fallback). Native build only — no distcc perfeedback_kernel_agent_no_distcc.*.pkg.tar.zstback; scp's to hertz and invokessudo /opt/herding/bin/marfrit-publish-arch aarch64 <pkg>(existing script — does sign + repo-add + rsync to nc).build:block tomanifest.lockwithbuilt_at,built_on_host, per-packageb2sum+size.Flags
--dry-run— stop after staging + patch verification, don't makepkg--skip-publish— build only, don't push to hertz--packages-repo <path>— override~/src/marfrit-packagesOut of scope (separate followups)
.debpath — separate verbka-build --validate-against— apply-check harness; mirror to ka-promote's flag if useful.marfrit-packagesand a writable/tmp.Test plan
--version,--help, unknown flag)manifest.lockmissing ("run ka-promote first")--packages-repo)--dry-runon fresnel — patches OK (6 files)Acceptance vs #34