All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][PATCH] buildah: add seccomp and ipv6 to REQUIRED_DISTRO_FEATURES
@ 2023-04-01 12:15 Martin Jansa
  2023-04-12 17:05 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Jansa @ 2023-04-01 12:15 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Martin Jansa

* 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.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 .gitignore                                | 2 +-
 recipes-containers/buildah/buildah_git.bb | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index a61332e..daeb43d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,4 @@
-build*/
+/build*/
 pyshtables.py
 *.swp
 *.orig
diff --git a/recipes-containers/buildah/buildah_git.bb b/recipes-containers/buildah/buildah_git.bb
index 3c17c98..8c6b8f3 100644
--- a/recipes-containers/buildah/buildah_git.bb
+++ b/recipes-containers/buildah/buildah_git.bb
@@ -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}"
-- 
2.40.0



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

* Re: [meta-virtualization][PATCH] buildah: add seccomp and ipv6 to REQUIRED_DISTRO_FEATURES
  2023-04-01 12:15 [meta-virtualization][PATCH] buildah: add seccomp and ipv6 to REQUIRED_DISTRO_FEATURES Martin Jansa
@ 2023-04-12 17:05 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2023-04-12 17:05 UTC (permalink / raw)
  To: Martin Jansa; +Cc: meta-virtualization

In message: [meta-virtualization][PATCH] buildah: add seccomp and ipv6 to REQUIRED_DISTRO_FEATURES
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

> 
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  .gitignore                                | 2 +-
>  recipes-containers/buildah/buildah_git.bb | 4 ++++
>  2 files changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/.gitignore b/.gitignore
> index a61332e..daeb43d 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -1,4 +1,4 @@
> -build*/
> +/build*/
>  pyshtables.py
>  *.swp
>  *.orig
> diff --git a/recipes-containers/buildah/buildah_git.bb b/recipes-containers/buildah/buildah_git.bb
> index 3c17c98..8c6b8f3 100644
> --- a/recipes-containers/buildah/buildah_git.bb
> +++ b/recipes-containers/buildah/buildah_git.bb
> @@ -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}"
> -- 
> 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: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 



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

end of thread, other threads:[~2023-04-12 17:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-01 12:15 [meta-virtualization][PATCH] buildah: add seccomp and ipv6 to REQUIRED_DISTRO_FEATURES Martin Jansa
2023-04-12 17:05 ` 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.