[ka:cli-build-out] ka-build: arch makepkg wrapper + sign + publish #34
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Per umbrella #21. ka-promote landed via #22 (resolver) and trailer normalisation via #31. Next verb.
Scope (Phase-1, minimum viable)
Given a host (
ka-build <host>):build/<host>/<baseline_ref>/manifest.lock(output ofka-promote). Refuse if missing — "run ka-promote first".package.template_atfrom the manifest = path inside marfrit-packages to the PKGBUILD recipe (e.g.marfrit-packages/arch/linux-fresnel-fourier/PKGBUILD)._cumulative_b2sumfrom manifest.lock,pkgrel(bumped or read from manifest),_srctagfrombaseline.ref. Drop the cumulative.patch into the same dir as the PKGBUILD.makepkg --syncdeps --noconfirm --cleanbuildnatively on the build host. Primary:boltzmann(RK3588 native aarch64). Fallback:fermi(LXD ALARM aarch64). Hand-off via ssh.ln -srparent-dir fix (README:284) — verify the PKGBUILD's headers package() doesinstall -dbeforeln -srand warn-fix if missing.*.pkg.tar.zstthroughmarfrit-publish-archon hertz (existing script — already does repo-add + rsync to nc).built_at,built_on_host, outputpkg_path,pkg_b2sum.Out of scope (defer to follow-ups)
.debbuild path — separate verb (ka-build-debor similar)feedback_kernel_agent_no_distcc)ka-build --validate-against(apply-check + bisect harness) — would mirror ka-promote's flag; nice-to-have, not blockerPhase-1 acceptance
ka-build fresnelproduces alinux-fresnel-fourier-7.0-1-aarch64.pkg.tar.zstthat is byte-identical (modulo timestamps) to the most recent hand-built fresnel kernel package onpackages.reauktion.de/arch/aarch64/.tests/ka-build/against a cached reference pkg b2sum.Bootstrap reference buildcross-referenceska-buildfor step 3 (manual recipe retained as fallback).Implementation notes
build_host.primary/build_host.fallbackfrom manifest; ssh + bash heredoc. Capture stdout tobuild/<host>/<baseline_ref>/build.log. Save bash exit code + cargo-rc-style metadata intomanifest.lock./opt/herding/bin/marfrit-publish-arch aarch64 <pkg>on hertz — don't reimplement repo-add / signing.git status --porcelainofmarfrit-packagesshows the PKGBUILD dirty — refuse silent commits.