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:
commit
19b3122ae0
@ -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>
|
Mon Jul 29 12:01:10 UTC 2024 - Ignaz Forster <iforster@suse.com>
|
||||||
|
|
||||||
|
@ -94,6 +94,7 @@ cp %{SOURCE12} dracut/30ignition/ignition-kargs-helper.sh
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
sed -i -e 's|go build -ldflags|go build -buildmode=pie -ldflags|g' 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
|
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
|
%check
|
||||||
|
Loading…
x
Reference in New Issue
Block a user