diff --git a/ignition.changes b/ignition.changes index 60b8646..844a914 100644 --- a/ignition.changes +++ b/ignition.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Aug 30 15:27:58 UTC 2024 - Dominique Leuenberger + +- 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 diff --git a/ignition.spec b/ignition.spec index 306edd6..087e0cb 100644 --- a/ignition.spec +++ b/ignition.spec @@ -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