omarchy-settings: ship the platform guard on aarch64 only
No platform package is built for x86_64, so an x86 machine has nothing to guard. The check that 00-omarchy-hooks.conf has its detector copy follows it: without the copy, x86_64 keeps the busybox line it would have anyway, and leaving the check unscoped would fail every x86_64 build from a source that asks omarchy-hw-platform. Taken from #691, which keeps the -dev recipe.
This commit is contained in:
1 parent
2fecfe548e
commit
c2c3f0a4ed
2 files changed
+10
-6
No files matched your search
@@ -178,10 +178,10 @@ for recipe in omarchy-settings; do
|
||||
# A runtime-profile source ships the same tree and metadata on both.
|
||||
package_as "$recipe" "$scratch/profile" x86_64 profile-x86_64 checkout
|
||||
package_as "$recipe" "$scratch/profile" aarch64 profile-aarch64 pinned
|
||||
# The pacman platform guard is the profile's one exception: aarch64 only
|
||||
# where the recipe says so (omacom/omarchy-pkgs#691).
|
||||
# The pacman platform guard is the profile's one exception: aarch64 only.
|
||||
for path in "${platform_guard[@]}"; do
|
||||
in_list "$path" "$scratch/profile-aarch64.files" || fail "aarch64 ships the platform guard's $path"
|
||||
! in_list "$path" "$scratch/profile-x86_64.files" || fail "x86_64 leaves out the platform guard's $path"
|
||||
done
|
||||
grep -Fxv -f <(printf '%s\n' "${platform_guard[@]}") "$scratch/profile-x86_64.files" >"$scratch/profile-x86_64.compared"
|
||||
grep -Fxv -f <(printf '%s\n' "${platform_guard[@]}") "$scratch/profile-aarch64.files" >"$scratch/profile-aarch64.compared"
|
||||
|
||||
Reference in new issue
Block a user