ISO: flip [breadway] to the signed dl.breadway.dev/arch repo #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/breadway-repo-signing"
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?
Executes the "After the signed repo exists" plan in
docs/signed-repo.md. Not merged-ready until the ISO build + VM verify is done (I can't runsudo ./build-local.shheadless).The signed repo is live (verified)
https://dl.breadway.dev/arch/x86_64/servesbreadway.db+.files+ every.pkg.tar.zstwith a detached.sig— all GPG-good againstKEYS.asc(56203B86A110695AE7F310934AF3323D678EB5E2,releases@breadway.dev). Rebuilt from the Forgejo Arch registry bysigned-repo.yml+scripts/ci-publish-signed-repo.sh. 6 packages: breadlock, calamares, bibata-cursor-theme-bin, yay-bin, zen-browser-bin, zsh-theme-powerlevel10k.Changes
iso/pacman.conf+iso/airootfs/etc/pacman.conf: section[Breadway.os.git.breadway.dev]→[breadway](matchesbreadway.db),Server = https://dl.breadway.dev/arch/$arch,SigLevel = Required. The "Forgejo has no db sigs / KEYS.asc is not a repo key / do NOT flip" comments are removed — both claims are now false (same key signs SHA256SUMS and the repo).iso/airootfs/etc/pacman.d/breadway-repo.asc(new): the public key baked into the image.build-local.sh:pacman-key --add+--lsign-keythe key into the build host keyring before mkarchiso; drop the obsolete Forgejo-registry URL rewrite (CI_BUILDbranch).iso/airootfs/root/customize_airootfs.sh(new): trust the key in the image keyring → live medium + (via calamaresunpackfs) the installed target. archiso prints a deprecation warning for this hook but there's no replacement for "add a repo key to the image keyring" and BOS ships nopacman-init.service.calamares/post-install.sh:pacman-key --add+--lsign-keyin the target chroot as a fallback (unpackfs can skip/etc/pacman.d/gnupg).You need to do
then in a VM off the fresh ISO:
then run the installer and
sudo pacman -Syagain on the installed system.Likely tweak point: the build-time keyring. mkarchiso here uses
pacstrap -G(no host-keyring copy) and there's nogpg_publickeypath var in this mkarchiso version — ifcustomize_airootfs.shruns after[breadway]packages are pacstrapped, the build will fail verifying them before the key is trusted. If so, the fix is to trust the key earlier (apacman.d/gnupgprepopulated in the profile, or a pre-pacstrap hook inbuild-local.shpointingpacstrapat the host keyring with-P/without-G). The VM/build run will show which.