Accepting request 1199298 from devel:kubic:ignition

OBS-URL: https://build.opensuse.org/request/show/1199298
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=47
This commit is contained in:
Ana Guerrero 2024-09-08 09:59:30 +00:00 committed by Git OBS Bridge
commit 19b3122ae0
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Aug 30 15:27:58 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Drop "go clean" from the upstream build script: since we build in
clean environments, we don't have caches. Additionally, the way
it is used does not even work and reports:
go: clean -cache cannot be used with package arguments
The error was masked until GO 1.23, as the test wether go
supported caching was checking for go 1.23 formatted output.
-------------------------------------------------------------------
Mon Jul 29 12:01:10 UTC 2024 - Ignaz Forster <iforster@suse.com>

View File

@ -94,6 +94,7 @@ cp %{SOURCE12} dracut/30ignition/ignition-kargs-helper.sh
%build
sed -i -e 's|go build -ldflags|go build -buildmode=pie -ldflags|g' build
sed -i -e '/go clean/d' build
VERSION=%{version} GLDFLAGS='-X github.com/coreos/ignition/v2/internal/distro.selinuxRelabel=false -X github.com/coreos/ignition/v2/internal/distro.writeAuthorizedKeysFragment=false ' ./build
%check