All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] podman: drop selinux sanity check
@ 2019-10-07 10:45 liu.ming50
  2019-10-07 12:04 ` Bruce Ashfield
  0 siblings, 1 reply; 3+ messages in thread
From: liu.ming50 @ 2019-10-07 10:45 UTC (permalink / raw)
  To: meta-virtualization; +Cc: stefan.agner, Ming Liu

From: Ming Liu <liu.ming50@gmail.com>

libselinux is not a dependency of podman, drop a useless sanity check.

Also fix some invalid comments.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
---
 recipes-containers/podman/podman_git.bb | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_git.bb
index 64e2672..835e4d5 100644
--- a/recipes-containers/podman/podman_git.bb
+++ b/recipes-containers/podman/podman_git.bb
@@ -16,18 +16,12 @@ DEPENDS = " \
 
 python __anonymous() {
     msg = ""
-    # ERROR: Nothing PROVIDES 'libseccomp' (but /buildarea/layers/meta-virtualization/recipes-containers/cri-o/cri-o_git.bb DEPENDS on or otherwise requires it).
+    # ERROR: Nothing PROVIDES 'libseccomp' (but /buildarea/layers/meta-virtualization/recipes-containers/podman/podman_git.bb DEPENDS on or otherwise requires it).
     # ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
-    # Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'cri-o', 'libseccomp']
+    # Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'podman', 'libseccomp']
     if 'security' not in d.getVar('BBFILE_COLLECTIONS').split():
         msg += "Make sure meta-security should be present as it provides 'libseccomp'"
         raise bb.parse.SkipRecipe(msg)
-    # ERROR: Nothing PROVIDES 'libselinux' (but /buildarea/layers/meta-virtualization/recipes-containers/cri-o/cri-o_git.bb DEPENDS on or otherwise requires it).
-    # ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
-    # Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'cri-o', 'libselinux']
-    elif 'selinux' not in d.getVar('BBFILE_COLLECTIONS').split():
-        msg += "Make sure meta-selinux should be present as it provides 'libselinux'"
-        raise bb.parse.SkipRecipe(msg)
 }
 
 SRCREV = "00057929f5acfd98341964d85722383363376d52"
-- 
2.7.4



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

* Re: [PATCH] podman: drop selinux sanity check
  2019-10-07 10:45 [PATCH] podman: drop selinux sanity check liu.ming50
@ 2019-10-07 12:04 ` Bruce Ashfield
  2019-10-07 12:10   ` Ming Liu
  0 siblings, 1 reply; 3+ messages in thread
From: Bruce Ashfield @ 2019-10-07 12:04 UTC (permalink / raw)
  To: Ming Liu; +Cc: meta-virtualization, Stefan Agner

I also have a fix for this, that I hadn't pushed yet.

Will push my change later today.

Cheers,

Bruce

On Mon, Oct 7, 2019 at 6:46 AM <liu.ming50@gmail.com> wrote:
>
> From: Ming Liu <liu.ming50@gmail.com>
>
> libselinux is not a dependency of podman, drop a useless sanity check.
>
> Also fix some invalid comments.
>
> Signed-off-by: Ming Liu <liu.ming50@gmail.com>
> ---
>  recipes-containers/podman/podman_git.bb | 10 ++--------
>  1 file changed, 2 insertions(+), 8 deletions(-)
>
> diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_git.bb
> index 64e2672..835e4d5 100644
> --- a/recipes-containers/podman/podman_git.bb
> +++ b/recipes-containers/podman/podman_git.bb
> @@ -16,18 +16,12 @@ DEPENDS = " \
>
>  python __anonymous() {
>      msg = ""
> -    # ERROR: Nothing PROVIDES 'libseccomp' (but /buildarea/layers/meta-virtualization/recipes-containers/cri-o/cri-o_git.bb DEPENDS on or otherwise requires it).
> +    # ERROR: Nothing PROVIDES 'libseccomp' (but /buildarea/layers/meta-virtualization/recipes-containers/podman/podman_git.bb DEPENDS on or otherwise requires it).
>      # ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
> -    # Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'cri-o', 'libseccomp']
> +    # Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'podman', 'libseccomp']
>      if 'security' not in d.getVar('BBFILE_COLLECTIONS').split():
>          msg += "Make sure meta-security should be present as it provides 'libseccomp'"
>          raise bb.parse.SkipRecipe(msg)
> -    # ERROR: Nothing PROVIDES 'libselinux' (but /buildarea/layers/meta-virtualization/recipes-containers/cri-o/cri-o_git.bb DEPENDS on or otherwise requires it).
> -    # ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
> -    # Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'cri-o', 'libselinux']
> -    elif 'selinux' not in d.getVar('BBFILE_COLLECTIONS').split():
> -        msg += "Make sure meta-selinux should be present as it provides 'libselinux'"
> -        raise bb.parse.SkipRecipe(msg)
>  }
>
>  SRCREV = "00057929f5acfd98341964d85722383363376d52"
> --
> 2.7.4
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II


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

* Re: [PATCH] podman: drop selinux sanity check
  2019-10-07 12:04 ` Bruce Ashfield
@ 2019-10-07 12:10   ` Ming Liu
  0 siblings, 0 replies; 3+ messages in thread
From: Ming Liu @ 2019-10-07 12:10 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: meta-virtualization, Stefan Agner

[-- Attachment #1: Type: text/plain, Size: 2980 bytes --]

Great! Good to know that, we are currently blocked by this sanity check.

//Ming Liu

Bruce Ashfield <bruce.ashfield@gmail.com> 於 2019年10月7日 週一 下午2:05寫道:

> I also have a fix for this, that I hadn't pushed yet.
>
> Will push my change later today.
>
> Cheers,
>
> Bruce
>
> On Mon, Oct 7, 2019 at 6:46 AM <liu.ming50@gmail.com> wrote:
> >
> > From: Ming Liu <liu.ming50@gmail.com>
> >
> > libselinux is not a dependency of podman, drop a useless sanity check.
> >
> > Also fix some invalid comments.
> >
> > Signed-off-by: Ming Liu <liu.ming50@gmail.com>
> > ---
> >  recipes-containers/podman/podman_git.bb | 10 ++--------
> >  1 file changed, 2 insertions(+), 8 deletions(-)
> >
> > diff --git a/recipes-containers/podman/podman_git.bb
> b/recipes-containers/podman/podman_git.bb
> > index 64e2672..835e4d5 100644
> > --- a/recipes-containers/podman/podman_git.bb
> > +++ b/recipes-containers/podman/podman_git.bb
> > @@ -16,18 +16,12 @@ DEPENDS = " \
> >
> >  python __anonymous() {
> >      msg = ""
> > -    # ERROR: Nothing PROVIDES 'libseccomp' (but
> /buildarea/layers/meta-virtualization/recipes-containers/cri-o/
> cri-o_git.bb DEPENDS on or otherwise requires it).
> > +    # ERROR: Nothing PROVIDES 'libseccomp' (but
> /buildarea/layers/meta-virtualization/recipes-containers/podman/
> podman_git.bb DEPENDS on or otherwise requires it).
> >      # ERROR: Required build target 'meta-world-pkgdata' has no
> buildable providers.
> > -    # Missing or unbuildable dependency chain was:
> ['meta-world-pkgdata', 'cri-o', 'libseccomp']
> > +    # Missing or unbuildable dependency chain was:
> ['meta-world-pkgdata', 'podman', 'libseccomp']
> >      if 'security' not in d.getVar('BBFILE_COLLECTIONS').split():
> >          msg += "Make sure meta-security should be present as it
> provides 'libseccomp'"
> >          raise bb.parse.SkipRecipe(msg)
> > -    # ERROR: Nothing PROVIDES 'libselinux' (but
> /buildarea/layers/meta-virtualization/recipes-containers/cri-o/
> cri-o_git.bb DEPENDS on or otherwise requires it).
> > -    # ERROR: Required build target 'meta-world-pkgdata' has no
> buildable providers.
> > -    # Missing or unbuildable dependency chain was:
> ['meta-world-pkgdata', 'cri-o', 'libselinux']
> > -    elif 'selinux' not in d.getVar('BBFILE_COLLECTIONS').split():
> > -        msg += "Make sure meta-selinux should be present as it provides
> 'libselinux'"
> > -        raise bb.parse.SkipRecipe(msg)
> >  }
> >
> >  SRCREV = "00057929f5acfd98341964d85722383363376d52"
> > --
> > 2.7.4
> >
> > --
> > _______________________________________________
> > meta-virtualization mailing list
> > meta-virtualization@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-virtualization
>
>
>
> --
> - Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end
> - "Use the force Harry" - Gandalf, Star Trek II
>

[-- Attachment #2: Type: text/html, Size: 4681 bytes --]

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

end of thread, other threads:[~2019-10-07 12:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-07 10:45 [PATCH] podman: drop selinux sanity check liu.ming50
2019-10-07 12:04 ` Bruce Ashfield
2019-10-07 12:10   ` Ming Liu

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.