All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] umoci & buildah & podman-tui: mark incompatible with mips
@ 2023-10-25  2:22 kai.kang
  2023-10-25  2:22 ` [PATCH v2 2/2] runv: set COMPATIBLE_HOST kai.kang
  2023-10-27  3:20 ` [PATCH v2 1/2] umoci & buildah & podman-tui: mark incompatible with mips Bruce Ashfield
  0 siblings, 2 replies; 3+ messages in thread
From: kai.kang @ 2023-10-25  2:22 UTC (permalink / raw)
  To: bruce.ashfield; +Cc: meta-virtualization

From: Kai Kang <kai.kang@windriver.com>

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.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 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(+)

diff --git a/recipes-containers/buildah/buildah_git.bb b/recipes-containers/buildah/buildah_git.bb
index 5155cbb1..ef1feead 100644
--- a/recipes-containers/buildah/buildah_git.bb
+++ b/recipes-containers/buildah/buildah_git.bb
@@ -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}"
diff --git a/recipes-containers/podman-tui/podman-tui_git.bb b/recipes-containers/podman-tui/podman-tui_git.bb
index 1a40d0ec..0b1924f9 100644
--- a/recipes-containers/podman-tui/podman-tui_git.bb
+++ b/recipes-containers/podman-tui/podman-tui_git.bb
@@ -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"
diff --git a/recipes-containers/umoci/umoci_git.bb b/recipes-containers/umoci/umoci_git.bb
index feaf6dff..62b42b8e 100644
--- a/recipes-containers/umoci/umoci_git.bb
+++ b/recipes-containers/umoci/umoci_git.bb
@@ -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=''"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH v2 2/2] runv: set COMPATIBLE_HOST
  2023-10-25  2:22 [PATCH v2 1/2] umoci & buildah & podman-tui: mark incompatible with mips kai.kang
@ 2023-10-25  2:22 ` kai.kang
  2023-10-27  3:20 ` [PATCH v2 1/2] umoci & buildah & podman-tui: mark incompatible with mips Bruce Ashfield
  1 sibling, 0 replies; 3+ messages in thread
From: kai.kang @ 2023-10-25  2:22 UTC (permalink / raw)
  To: bruce.ashfield; +Cc: meta-virtualization

From: Kai Kang <kai.kang@windriver.com>

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

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 recipes-core/runv/runv_git.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/recipes-core/runv/runv_git.bb b/recipes-core/runv/runv_git.bb
index e5a5abd3..73cd81a6 100644
--- a/recipes-core/runv/runv_git.bb
+++ b/recipes-core/runv/runv_git.bb
@@ -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/"
 
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2 1/2] umoci & buildah & podman-tui: mark incompatible with mips
  2023-10-25  2:22 [PATCH v2 1/2] umoci & buildah & podman-tui: mark incompatible with mips kai.kang
  2023-10-25  2:22 ` [PATCH v2 2/2] runv: set COMPATIBLE_HOST kai.kang
@ 2023-10-27  3:20 ` Bruce Ashfield
  1 sibling, 0 replies; 3+ messages in thread
From: Bruce Ashfield @ 2023-10-27  3:20 UTC (permalink / raw)
  To: kai.kang; +Cc: meta-virtualization

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
on 25/10/2023 kai.kang@windriver.com wrote:

> From: Kai Kang <kai.kang@windriver.com>
> 
> 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.
> 
> Signed-off-by: Kai Kang <kai.kang@windriver.com>
> ---
>  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(+)
> 
> diff --git a/recipes-containers/buildah/buildah_git.bb b/recipes-containers/buildah/buildah_git.bb
> index 5155cbb1..ef1feead 100644
> --- a/recipes-containers/buildah/buildah_git.bb
> +++ b/recipes-containers/buildah/buildah_git.bb
> @@ -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}"
> diff --git a/recipes-containers/podman-tui/podman-tui_git.bb b/recipes-containers/podman-tui/podman-tui_git.bb
> index 1a40d0ec..0b1924f9 100644
> --- a/recipes-containers/podman-tui/podman-tui_git.bb
> +++ b/recipes-containers/podman-tui/podman-tui_git.bb
> @@ -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"
> diff --git a/recipes-containers/umoci/umoci_git.bb b/recipes-containers/umoci/umoci_git.bb
> index feaf6dff..62b42b8e 100644
> --- a/recipes-containers/umoci/umoci_git.bb
> +++ b/recipes-containers/umoci/umoci_git.bb
> @@ -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=''"
> -- 
> 2.34.1
> 

In message: [PATCH v2 2/2] runv: set COMPATIBLE_HOST
on 25/10/2023 kai.kang@windriver.com wrote:

> From: Kai Kang <kai.kang@windriver.com>
> 
> runv rdepends on qemu, so update COMPATIBLE_HOST for runv to accord with qemu.
> 
> Signed-off-by: Kai Kang <kai.kang@windriver.com>
> ---
>  recipes-core/runv/runv_git.bb | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/recipes-core/runv/runv_git.bb b/recipes-core/runv/runv_git.bb
> index e5a5abd3..73cd81a6 100644
> --- a/recipes-core/runv/runv_git.bb
> +++ b/recipes-core/runv/runv_git.bb
> @@ -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/"
>  
> -- 
> 2.34.1
> 



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-27  3:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-25  2:22 [PATCH v2 1/2] umoci & buildah & podman-tui: mark incompatible with mips kai.kang
2023-10-25  2:22 ` [PATCH v2 2/2] runv: set COMPATIBLE_HOST kai.kang
2023-10-27  3:20 ` [PATCH v2 1/2] umoci & buildah & podman-tui: mark incompatible with mips Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.