From 9552385a5b39374d75f09e4876fa385d209a7e32 Mon Sep 17 00:00:00 2001 From: dpd Date: Wed, 17 Jun 2026 15:10:34 +0800 Subject: [PATCH] add support for loongarch64 --- ...n-2.15.0-add-support-for-loongarch64.patch | 25 +++++++++++++++++++ ignition.spec | 7 +++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 0001-ignition-2.15.0-add-support-for-loongarch64.patch diff --git a/0001-ignition-2.15.0-add-support-for-loongarch64.patch b/0001-ignition-2.15.0-add-support-for-loongarch64.patch new file mode 100644 index 0000000..65fa1b1 --- /dev/null +++ b/0001-ignition-2.15.0-add-support-for-loongarch64.patch @@ -0,0 +1,25 @@ +From 478bc99e6381ce69c6a255f43335a88890ed9af8 Mon Sep 17 00:00:00 2001 +From: doupengda +Date: Wed, 17 Jun 2026 11:36:41 +0800 +Subject: [PATCH] ignition-2.15.0 add support for loongarch64 + +--- + Makefile | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/Makefile b/Makefile +index 3fe8bbb..5bd5a19 100644 +--- a/Makefile ++++ b/Makefile +@@ -10,6 +10,8 @@ else ifeq ($(patsubst armv%,arm,$(GOARCH)),arm) + GOARCH=arm + else ifeq ($(patsubst i%86,386,$(GOARCH)),386) + GOARCH=386 ++else ifeq ($(GOARCH),loongarch64) ++ GOARCH=loong64 + endif + + .PHONY: all +-- +2.43.7 + diff --git a/ignition.spec b/ignition.spec index 50dd680..4871cd0 100644 --- a/ignition.spec +++ b/ignition.spec @@ -6,7 +6,7 @@ Summary: First boot installer and configuration tool Name: ignition Version: 2.15.0 -Release: 8%{?dist} +Release: 9%{?dist} License: ASL 2.0 URL: https://github.com/coreos/ignition Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz @@ -23,6 +23,7 @@ Patch0001: fix-CVE-2025-22868.patch # Backport of the security-relevant part of upstream x/net CL 767220. # https://go-review.googlesource.com/c/net/+/767220 Patch0002: fix-CVE-2026-39821.patch +Patch3000: 0001-ignition-2.15.0-add-support-for-loongarch64.patch # Generated by `go-mods-to-bundled-provides.py | sort` Provides: bundled(golang(cloud.google.com/go/compute/metadata)) = 0.2.3 @@ -199,6 +200,10 @@ install -p -m 0755 ./ignition %{buildroot}/%{dracutlibdir}/modules.d/30ignition %{_bindir}/ignition-validate %changelog +* Wed Jun 17 2026 doupengda - 2.15.0-9 +- [type] sync +- [desc] add support for loongarch64 + * Thu Jun 04 2026 wynnfeng - 2.15.0-8 - [type] security - [desc] fix CVE-2026-39821 in bundled golang.org/x/net/idna -- Gitee