Sync from SUSE:ALP:Source:Standard:1.0 ignition revision ce4faa62f009ed22921511ccad362d88
This commit is contained in:
parent
4f4b067fa2
commit
b89bb1c60b
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 24 12:58:37 UTC 2024 - Ignaz Forster <iforster@suse.com>
|
||||
|
||||
- Add compatibility with Go 1.23
|
||||
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.
|
||||
Thanks to dimstar for the fix.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 24 13:20:31 UTC 2023 - iforster@suse.com
|
||||
|
||||
|
@ -96,6 +96,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
|
||||
env VERSION=%{version} GLDFLAGS='-X github.com/coreos/ignition/v2/internal/distro.selinuxRelabel=false -X github.com/coreos/ignition/v2/internal/distro.writeAuthorizedKeysFragment=false ' bash -x ./build
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user