bos/.forgejo/workflows
Breadway 22a8db09a6
All checks were successful
Mirror to GitHub / mirror (push) Successful in 3s
Build and publish yay-bin / yay-bin (push) Successful in 22s
Fix mkinitcpio hook detection: current default is systemd-based, not udev
Verified against the actual cached mkinitcpio package (41-4), not assumed:
its shipped /etc/mkinitcpio.conf template is
HOOKS=(base systemd autodetect microcode modconf kms keyboard sd-vconsole
block filesystems fsck) — there's no "udev" token at all on a stock
install anymore, systemd is the base hook instead.

This silently broke two things:
- The existing plymouth-hook insertion (`sed 's/\budev\b/\0 plymouth/'`)
  has been a no-op on every fresh install using a current mkinitcpio
  package — the boot splash was never actually getting wired into the
  initramfs, just failing quietly (the script's best-effort `|| echo WARN`
  pattern doesn't catch a sed that "succeeds" by matching nothing).
- My own new encrypt-hook insertion from the previous commit had the same
  flaw, and would have used the wrong hook regardless: `encrypt` is the
  udev-based hook, systemd-based initramfs needs `sd-encrypt` instead.

post-install.sh now detects which base hook (systemd or udev) is actually
in HOOKS once, and uses the matching hook name for both plymouth
(unaffected by the choice, just needed the right anchor to insert after)
and LUKS unlocking (encrypt vs sd-encrypt — genuinely different hooks).

Also: avoid a redundant pacman -Sy in release-iso.yml's signing step —
the job already synced repos earlier in the same container.
2026-07-04 11:20:01 +08:00
..
bibata.yml Republish bibata-cursor-theme to [breadway] (AUR-only upstream) 2026-06-16 13:01:38 +08:00
calamares.yml Add in-house Calamares package (AUR-only upstream) 2026-06-13 23:39:39 +08:00
mirror.yml Clone from public URL, not GITHUB_SERVER_URL (resolves to localhost in runner) 2026-06-13 16:14:12 +08:00
package.yml Fix bos-settings compile errors and use REGISTRY_TOKEN for publishing 2026-06-13 22:54:27 +08:00
powerlevel10k.yml Add bos-update + replicate the dev zsh shell 2026-06-17 08:49:53 +08:00
release-iso.yml Fix mkinitcpio hook detection: current default is systemd-based, not udev 2026-07-04 11:20:01 +08:00
yay-bin.yml Ship yay, wire up LUKS disk encryption, self-signed Secure Boot, release signing 2026-07-04 10:39:44 +08:00