From 841b5f163c33b65d1812e164fff52be7b436d75e Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Wed, 3 Dec 2025 11:23:59 -0800 Subject: [PATCH] fix(dracut-strip-trigger): Noarch (#7929) (#7933) * fix(dracut-strip-trigger): Noarch * chore: Arches --------- (cherry picked from commit 104649b9b62e3209ecae21e638bf62b33442e4e8) Signed-off-by: Gilver Co-authored-by: Gilver --- anda/system/dracut-strip-trigger/anda.hcl | 1 + anda/system/dracut-strip-trigger/dracut-strip-trigger.spec | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/anda/system/dracut-strip-trigger/anda.hcl b/anda/system/dracut-strip-trigger/anda.hcl index d6b890bd3f..66cc3dc1d1 100644 --- a/anda/system/dracut-strip-trigger/anda.hcl +++ b/anda/system/dracut-strip-trigger/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "dracut-strip-trigger.spec" } diff --git a/anda/system/dracut-strip-trigger/dracut-strip-trigger.spec b/anda/system/dracut-strip-trigger/dracut-strip-trigger.spec index 892dd3ec8c..b83f5ebe14 100644 --- a/anda/system/dracut-strip-trigger/dracut-strip-trigger.spec +++ b/anda/system/dracut-strip-trigger/dracut-strip-trigger.spec @@ -1,12 +1,13 @@ Name: dracut-strip-trigger Version: 0 -Release: 6%?dist +Release: 7%?dist Summary: Strip initramfs aggressively License: GPL-3.0-only Requires: dracut installonlypkg(kernel) Conflicts: dracut-config-generic Source0: LICENSE Source1: 01-aggressive-strip.conf +BuildArch: noarch %global _desc %{expand: Strip initramfs automatically for each kernel update using --hostonly --aggressive-strip.