From 45fb64fedbdfb0b95484cee95e3bed52efe3014e Mon Sep 17 00:00:00 2001 From: Marcelo Alcantara Date: Mon, 28 Sep 2026 13:51:12 +1000 Subject: [PATCH] omarchy-settings-dev: check for the detector copy on aarch64 only The guard and its detector copy now ship on aarch64 only (#691), so the check that 00-omarchy-hooks.conf has its detector failed every x86_64 build from a source that carries the HOOKS baseline. x86_64 keeps the busybox line without a detector. Same scoping as omarchy-settings in #638. --- pkgbuilds/omarchy-settings-dev/PKGBUILD | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgbuilds/omarchy-settings-dev/PKGBUILD b/pkgbuilds/omarchy-settings-dev/PKGBUILD index 534f2ad..5457d51 100644 --- a/pkgbuilds/omarchy-settings-dev/PKGBUILD +++ b/pkgbuilds/omarchy-settings-dev/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Ryan Hughes pkgname='omarchy-settings-dev' pkgver=4.0.0.r6663.g3faafba -pkgrel=3 +pkgrel=4 # Pinned by the upstream watch in .omarchy/package.json (bin/sync-upstream): # every quattro tip becomes a commit pin here, so the package is versioned, # checksummed and built exactly like a release, just more often. The r-number @@ -412,7 +412,9 @@ EOF fi # 00-omarchy-hooks.conf places a Mac through this detector copy; without it # an Aurora Mac gets the busybox line and its initramfs cannot unlock root. - if grep -qs omarchy-hw-platform "$pkgdir/etc/mkinitcpio.conf.d/00-omarchy-hooks.conf" && + # x86_64 keeps the busybox line either way. + if [[ $CARCH == aarch64 ]] && + grep -qs omarchy-hw-platform "$pkgdir/etc/mkinitcpio.conf.d/00-omarchy-hooks.conf" && [[ ! -x $pkgdir/usr/share/libalpm/scripts/omarchy-hw-platform ]]; then echo "etc/mkinitcpio.conf.d/00-omarchy-hooks.conf needs the omarchy-hw-platform copy the source does not ship" >&2 return 1