Skip to contentSkip to conversation

umoci & buildah & podman-tui: mark incompatible with mips

PATCH Applied [email protected] 2 participants 3 messages Oct 25, 2023 – Oct 27, 2023

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 umoci & buildah & podman-tui: mark incompatible with mips

From: Kai Kang <[email protected]>

Since the runtime dependency skopeo has been marked incompatible with mips, mark for umoci accordingly.

buildah and podman-tui rdepends on podman which has been marked incompatible with mips, so mark for them too.

---
 recipes-containers/buildah/buildah_git.bb       | 2 ++
 recipes-containers/podman-tui/podman-tui_git.bb | 2 ++
 recipes-containers/umoci/umoci_git.bb           | 2 ++
 3 files changed, 6 insertions(+)
recipes-containers/buildah/buildah_git.bb +2 -0
index 5155cbb1..ef1feead 100644
@@ -20,6 +20,8 @@ inherit pkgconfig
 inherit features_check
 REQUIRED_DISTRO_FEATURES = "seccomp ipv6"
 
+COMPATIBLE_HOST = "^(?!mips).*"
+
 GO_IMPORT = "github.com/containers/buildah"
 GO_INSTALL = "${GO_IMPORT}"
 GO_WORKDIR = "${GO_INSTALL}"
recipes-containers/podman-tui/podman-tui_git.bb +2 -0
index 1a40d0ec..0b1924f9 100644
@@ -41,6 +41,8 @@ PODMAN_PKG = "github.com/containers/podman-tui"
 inherit go goarch
 inherit pkgconfig
 
+COMPATIBLE_HOST = "^(?!mips).*"
+
 do_configure[noexec] = "1"
 
 BUILD_TAGS ?= "exclude_graphdriver_btrfs exclude_graphdriver_devicemapper"
recipes-containers/umoci/umoci_git.bb +2 -0
index feaf6dff..62b42b8e 100644
@@ -17,6 +17,8 @@ GO_IMPORT = "github.com/opencontainers/umoci"
 inherit goarch
 inherit go
 
+COMPATIBLE_HOST = "^(?!mips).*"
+
 # This disables seccomp and apparmor, which are on by default in the
 # go package. 
 EXTRA_OEMAKE="BUILDTAGS=''"
Signature · 1 line
2.34.1
#1 lore raw

PATCH v2 2/2 runv: set COMPATIBLE_HOST

From: Kai Kang <[email protected]>

runv rdepends on qemu, so update COMPATIBLE_HOST for runv to accord with qemu.

---
 recipes-core/runv/runv_git.bb | 6 ++++++
 1 file changed, 6 insertions(+)
recipes-core/runv/runv_git.bb +6 -0
index e5a5abd3..73cd81a6 100644
@@ -19,6 +19,12 @@ inherit goarch
 inherit pkgconfig
 inherit autotools-brokensep
 
+# accord with qemu
+COMPATIBLE_HOST:mipsarchn32 = "null"
+COMPATIBLE_HOST:mipsarchn64 = "null"
+COMPATIBLE_HOST:riscv32 = "null"
+COMPATIBLE_HOST:powerpc = "null"
+
 PACKAGECONFIG[xen] = "--with-xen,--without-xen,"
 AUTOTOOLS_SCRIPT_PATH = "${S}/src/import/"
 
Signature · 1 line
2.34.1
#2 lore raw

merged to master-next.

I expect to have master-next -> master tomorrow.

Bruce

In message: [PATCH v2 1/2] umoci & buildah & podman-tui: mark incompatible with mips

Quoted 57 lines · on 25/10/2023 [email protected] wrote:

From: Kai Kang <[email protected]>

Since the runtime dependency skopeo has been marked incompatible with mips, mark for umoci accordingly.

buildah and podman-tui rdepends on podman which has been marked incompatible with mips, so mark for them too.

---
 recipes-containers/buildah/buildah_git.bb       | 2 ++
 recipes-containers/podman-tui/podman-tui_git.bb | 2 ++
 recipes-containers/umoci/umoci_git.bb           | 2 ++
 3 files changed, 6 insertions(+)
recipes-containers/buildah/buildah_git.bb +2 -0
index 5155cbb1..ef1feead 100644
@@ -20,6 +20,8 @@ inherit pkgconfig
 inherit features_check
 REQUIRED_DISTRO_FEATURES = "seccomp ipv6"
 
+COMPATIBLE_HOST = "^(?!mips).*"
+
 GO_IMPORT = "github.com/containers/buildah"
 GO_INSTALL = "${GO_IMPORT}"
 GO_WORKDIR = "${GO_INSTALL}"
recipes-containers/podman-tui/podman-tui_git.bb +2 -0
index 1a40d0ec..0b1924f9 100644
@@ -41,6 +41,8 @@ PODMAN_PKG = "github.com/containers/podman-tui"
 inherit go goarch
 inherit pkgconfig
 
+COMPATIBLE_HOST = "^(?!mips).*"
+
 do_configure[noexec] = "1"
 
 BUILD_TAGS ?= "exclude_graphdriver_btrfs exclude_graphdriver_devicemapper"
recipes-containers/umoci/umoci_git.bb +2 -0
index feaf6dff..62b42b8e 100644
@@ -17,6 +17,8 @@ GO_IMPORT = "github.com/opencontainers/umoci"
 inherit goarch
 inherit go
 
+COMPATIBLE_HOST = "^(?!mips).*"
+
 # This disables seccomp and apparmor, which are on by default in the
 # go package. 
 EXTRA_OEMAKE="BUILDTAGS=''"
Signature · 1 line
2.34.1

In message: [PATCH v2 2/2] runv: set COMPATIBLE_HOST

Quoted 29 lines · on 25/10/2023 [email protected] wrote:

From: Kai Kang <[email protected]>

runv rdepends on qemu, so update COMPATIBLE_HOST for runv to accord with qemu.

---
 recipes-core/runv/runv_git.bb | 6 ++++++
 1 file changed, 6 insertions(+)
recipes-core/runv/runv_git.bb +6 -0
index e5a5abd3..73cd81a6 100644
@@ -19,6 +19,12 @@ inherit goarch
 inherit pkgconfig
 inherit autotools-brokensep
 
+# accord with qemu
+COMPATIBLE_HOST:mipsarchn32 = "null"
+COMPATIBLE_HOST:mipsarchn64 = "null"
+COMPATIBLE_HOST:riscv32 = "null"
+COMPATIBLE_HOST:powerpc = "null"
+
 PACKAGECONFIG[xen] = "--with-xen,--without-xen,"
 AUTOTOOLS_SCRIPT_PATH = "${S}/src/import/"
 
Signature · 1 line
2.34.1