Skip to contentSkip to conversation

buildah: add seccomp and ipv6 to REQUIRED_DISTRO_FEATURES

PATCH In review Martin Jansa 2 participants 2 messages Apr 1, 2023 – Apr 12, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 buildah: add seccomp and ipv6 to REQUIRED_DISTRO_FEATURES

* because it rdepends on podman with the same restriction

* BTW: .gitignore has:
build*/
which gets triggered for buildah as well:
meta-virtualization $ git add ./recipes-containers/buildah/buildah_git.bb The following paths are ignored by one of your .gitignore files:
recipes-containers/buildah

I've adjusted it to /build*/ only.

---
 .gitignore                                | 2 +-
 recipes-containers/buildah/buildah_git.bb | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
.gitignore +1 -1
index a61332e..daeb43d 100644
@@ -1,4 +1,4 @@
-build*/
+/build*/
 pyshtables.py
 *.swp
 *.orig
recipes-containers/buildah/buildah_git.bb +4 -0
index 3c17c98..8c6b8f3 100644
@@ -16,6 +16,10 @@ inherit go
 inherit goarch
 inherit pkgconfig
 
+# Rdepends on podman which needs seccomp and ipv6
+inherit features_check
+REQUIRED_DISTRO_FEATURES = "seccomp ipv6"
+
 GO_IMPORT = "github.com/containers/buildah"
 GO_INSTALL = "${GO_IMPORT}"
 GO_WORKDIR = "${GO_INSTALL}"
Signature · 1 line
2.40.0
#1 lore raw

In message: [meta-virtualization][PATCH] buildah: add seccomp and ipv6 to REQUIRED_DISTRO_FEATURES

Quoted 10 lines · on 01/04/2023 Martin Jansa wrote:

* because it rdepends on podman with the same restriction

* BTW: .gitignore has:
build*/
which gets triggered for buildah as well:
meta-virtualization $ git add ./recipes-containers/buildah/buildah_git.bb The following paths are ignored by one of your .gitignore files:
recipes-containers/buildah

I've adjusted it to /build*/ only.

staged to master-next.

I admit to doing a git add -f when updating buildah last time around :)

Bruce

Quoted 45 lines
---
 .gitignore                                | 2 +-
 recipes-containers/buildah/buildah_git.bb | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
.gitignore +1 -1
index a61332e..daeb43d 100644
@@ -1,4 +1,4 @@
-build*/
+/build*/
 pyshtables.py
 *.swp
 *.orig
recipes-containers/buildah/buildah_git.bb +4 -0
index 3c17c98..8c6b8f3 100644
@@ -16,6 +16,10 @@ inherit go
 inherit goarch
 inherit pkgconfig
 
+# Rdepends on podman which needs seccomp and ipv6
+inherit features_check
+REQUIRED_DISTRO_FEATURES = "seccomp ipv6"
+
 GO_IMPORT = "github.com/containers/buildah"
 GO_INSTALL = "${GO_IMPORT}"
 GO_WORKDIR = "${GO_INSTALL}"
Signature · 11 lines
2.40.0



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7976): https://lists.yoctoproject.org/g/meta-virtualization/message/7976
Mute This Topic: https://lists.yoctoproject.org/mt/97992318/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-