From a3ef7ce306e067031905e3aef41becb685c33769 Mon Sep 17 00:00:00 2001 From: Ilya Sorochan <63092863+k0tran@users.noreply.github.com> Date: Fri, 13 Sep 2024 14:36:47 +0300 Subject: [PATCH 1/2] build: fix GOARCH for loongarch64 (Makefile) uname gives loongarch64 target value while go has loong64 target instead. Without the fix `make install` can't find correct executable since it looks into bin/loongarch64 instead of bin/loong64 --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 546586247..635b809ff 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,8 @@ ifeq ($(GOARCH),x86_64) GOARCH=amd64 else ifeq ($(GOARCH),aarch64) GOARCH=arm64 +else ifeq ($(GOARCH),loongarch64) + GOARCH=loong64 else ifeq ($(patsubst armv%,arm,$(GOARCH)),arm) GOARCH=arm else ifeq ($(patsubst i%86,386,$(GOARCH)),386) From 54afa54273a5d22508f0fd9fa86321a456770b25 Mon Sep 17 00:00:00 2001 From: Ilya Sorochan <63092863+k0tran@users.noreply.github.com> Date: Mon, 16 Sep 2024 17:43:55 +0300 Subject: [PATCH 2/2] docs: add bug fix entry for PR #1942 --- docs/release-notes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/release-notes.md b/docs/release-notes.md index c734609fe..6817051d6 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -20,6 +20,7 @@ nav_order: 9 ### Bug fixes - Fix Akamai Ignition base64 decoding on padded payloads +- Fix Makefile GOARCH for loongarch64 ([#1942](https://github.com/coreos/ignition/pull/1942)) ## Ignition 2.19.0 (2024-06-05)