Accepting request 787793 from home:fos:branches:devel:kubic:ignition
- Add 0001-Support-more-architectures.patch: Allow builing on i586 (and other architectures) again OBS-URL: https://build.opensuse.org/request/show/787793 OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=43
This commit is contained in:
parent
7644f984c8
commit
ec715b5a7c
37
0001-Support-more-architectures.patch
Normal file
37
0001-Support-more-architectures.patch
Normal file
@ -0,0 +1,37 @@
|
||||
From 7d46257741a60291504b998ce0bc5ea1f2e28d00 Mon Sep 17 00:00:00 2001
|
||||
From: Ignaz Forster <iforster@suse.com>
|
||||
Date: Tue, 24 Mar 2020 13:41:43 +0100
|
||||
Subject: [PATCH] Support more architectures
|
||||
References: gh#coreos/ignition#944
|
||||
Upstream: submitted
|
||||
|
||||
Commit 3b930b made it impossible to build Ignition on any other arch then
|
||||
s390x, ppc64le, amd64 or arm64 by explicitly stating the allowed platforms.
|
||||
This made it impossible to build e.g. for 386.
|
||||
Continue to use the fw_cfg interface as default instead.
|
||||
---
|
||||
internal/providers/qemu/qemu_fwcfg.go | 7 ++++---
|
||||
1 file changed, 4 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/internal/providers/qemu/qemu_fwcfg.go b/internal/providers/qemu/qemu_fwcfg.go
|
||||
index 0758943..c485d6f 100644
|
||||
--- a/internal/providers/qemu/qemu_fwcfg.go
|
||||
+++ b/internal/providers/qemu/qemu_fwcfg.go
|
||||
@@ -12,10 +12,11 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
-// +build amd64 arm64
|
||||
+// +build !s390x,!ppc64le
|
||||
|
||||
-// The QEMU provider on amd64 and arm64 fetches a local configuration from the
|
||||
-// firmware config interface (opt/com.coreos/config).
|
||||
+// The default QEMU provider fetches a local configuration from the firmware
|
||||
+// config interface (opt/com.coreos/config). Platforms without support for
|
||||
+// qemu_fw_cfg should use the blockdev implementation instead.
|
||||
|
||||
package qemu
|
||||
|
||||
--
|
||||
2.25.1
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 24 12:58:48 UTC 2020 - Ignaz Forster <iforster@suse.com>
|
||||
|
||||
- Add 0001-Support-more-architectures.patch:
|
||||
Allow builing on i586 (and other architectures) again
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 24 07:45:25 UTC 2020 - kukuk@suse.de
|
||||
|
||||
|
@ -24,6 +24,7 @@ License: Apache-2.0
|
||||
Group: System/Management
|
||||
URL: https://github.com/coreos/ignition
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
Patch1: 0001-Support-more-architectures.patch
|
||||
Patch2: 0002-allow-multiple-mounts-of-same-device.patch
|
||||
Requires: dracut
|
||||
Recommends: /sbin/mkfs.btrfs
|
||||
@ -52,6 +53,7 @@ applies the configuration.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user