From 7f77d82c0f2cf8543af44de4c3f74c2582b2e938 Mon Sep 17 00:00:00 2001 From: Marcelo Alcantara Date: Mon, 28 Sep 2026 13:40:50 +1000 Subject: [PATCH] omarchy-settings-dev: ship the platform guard on aarch64 only No platform package is built for x86_64 and pacman refuses another architecture's package there, so x86 transactions gain nothing from the guard. The x86 HOOKS baseline keeps the busybox line without a detector, so the detector copy goes too. omarchy-settings gets the same change in #638. --- pkgbuilds/omarchy-settings-dev/PKGBUILD | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgbuilds/omarchy-settings-dev/PKGBUILD b/pkgbuilds/omarchy-settings-dev/PKGBUILD index 7e5a09a..534f2ad 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=2 +pkgrel=3 # 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 @@ -398,9 +398,11 @@ EOF # platform. It ships here, not in omarchy, so it is resident before the # runtime and any hardware package install; the hook, the script it runs and # the script's own copy of the platform detector travel together (omarchy - # keeps /usr/bin/omarchy-hw-platform). Conditional until the pinned source - # carries them. - if [[ -f default/libalpm/hooks/00-omarchy-platform-guard.hook ]]; then + # keeps /usr/bin/omarchy-hw-platform). aarch64 only: no platform package is + # built for x86_64, so an x86 machine has nothing to guard, and its HOOKS + # baseline needs no detector. Conditional until the pinned source carries + # them. + if [[ $CARCH == aarch64 && -f default/libalpm/hooks/00-omarchy-platform-guard.hook ]]; then install -Dm644 default/libalpm/hooks/00-omarchy-platform-guard.hook \ "$pkgdir/usr/share/libalpm/hooks/00-omarchy-platform-guard.hook" install -Dm755 default/libalpm/scripts/omarchy-platform-guard \