podman & umoci: mark incompatible with mips
PATCH 1/2 podman & umoci: mark incompatible with mips
From: Kai Kang <[email protected]>
Since runtime dependency skopeo has been marked incompatible with mips, set for podman and umoci accordingly.
buildah and podman-tui rdepends on podman, so mark for them too.
--- recipes-containers/buildah/buildah_git.bb | 2 ++ recipes-containers/podman-tui/podman-tui_git.bb | 2 ++ recipes-containers/podman/podman_git.bb | 2 ++ recipes-containers/umoci/umoci_git.bb | 2 ++ 4 files changed, 8 insertions(+)
recipes-containers/buildah/buildah_git.bb +2 -0
@@ -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
@@ -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/podman/podman_git.bb +2 -0
@@ -9,6 +9,8 @@ DESCRIPTION = "Podman is a daemonless container engine for developing, \ inherit features_check REQUIRED_DISTRO_FEATURES ?= "seccomp ipv6" +COMPATIBLE_HOST = "^(?!mips).*" + DEPENDS = " \ go-metalinter-native \ go-md2man-native \
recipes-containers/umoci/umoci_git.bb +2 -0
@@ -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
PATCH 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
@@ -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
podman has already been marked as incompatible with mips on master.
Is your branch out of date, or did you miss where it was in the recipe ?
Bruce
Quoted 80 lines · Kai Kang
From: Kai Kang <[email protected]>
Since runtime dependency skopeo has been marked incompatible with mips, set for podman and umoci accordingly.
buildah and podman-tui rdepends on podman, so mark for them too.
Signed-off-by Kai Kang <[email protected]>--- recipes-containers/buildah/buildah_git.bb | 2 ++ recipes-containers/podman-tui/podman-tui_git.bb | 2 ++ recipes-containers/podman/podman_git.bb | 2 ++ recipes-containers/umoci/umoci_git.bb | 2 ++ 4 files changed, 8 insertions(+)recipes-containers/buildah/buildah_git.bb +2
-0@@ -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@@ -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/podman/podman_git.bb +2
-0@@ -9,6 +9,8 @@ DESCRIPTION = "Podman is a daemonless container engine for developing, \ inherit features_check REQUIRED_DISTRO_FEATURES ?= "seccomp ipv6" +COMPATIBLE_HOST = "^(?!mips).*" + DEPENDS = " \ go-metalinter-native \ go-md2man-native \recipes-containers/umoci/umoci_git.bb +2
-1@@ -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
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8386): https://lists.yoctoproject.org/g/meta-virtualization/message/8386
Mute This Topic: https://lists.yoctoproject.org/mt/102160041/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
Quoted 3 lines · Bruce Ashfield
podman has already been marked as incompatible with mips on master.
Is your branch out of date, or did you miss where it was in the recipe ?
There is a local podman recipe with specific version and causes the issue. When reproduce with Yocto & meta-virt, I didn't check the error messages carefully.
Sorry for inconvenience, v2 will be sent.
Regards,
Kai
Quoted 84 lines
Bruce
Quoted 79 lines · Kai Kang
From: Kai Kang <[email protected]>
Since runtime dependency skopeo has been marked incompatible with mips, set for podman and umoci accordingly.
buildah and podman-tui rdepends on podman, so mark for them too.
Signed-off-by Kai Kang <[email protected]>--- recipes-containers/buildah/buildah_git.bb | 2 ++ recipes-containers/podman-tui/podman-tui_git.bb | 2 ++ recipes-containers/podman/podman_git.bb | 2 ++ recipes-containers/umoci/umoci_git.bb | 2 ++ 4 files changed, 8 insertions(+)recipes-containers/buildah/buildah_git.bb +2
-0@@ -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@@ -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/podman/podman_git.bb +2
-0@@ -9,6 +9,8 @@ DESCRIPTION = "Podman is a daemonless container engine for developing, \ inherit features_check REQUIRED_DISTRO_FEATURES ?= "seccomp ipv6" +COMPATIBLE_HOST = "^(?!mips).*" + DEPENDS = " \ go-metalinter-native \ go-md2man-native \recipes-containers/umoci/umoci_git.bb +2
-1@@ -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
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8386): https://lists.yoctoproject.org/g/meta-virtualization/message/8386
Mute This Topic: https://lists.yoctoproject.org/mt/102160041/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 2 lines
Kai Kang Wind River Linux