packagegroup-container: skip without meta-security because of podman

* copy the skip from podman recipe, because this packagegroup
  depends on podman

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Martin Jansa 2021-04-02 09:02:44 +02:00 committed by Bruce Ashfield
parent 1dda063e0c
commit 4ea3d76821

View File

@ -44,3 +44,12 @@ RDEPENDS_packagegroup-containerd = " \
virtual/containerd \ virtual/containerd \
" "
python __anonymous() {
msg = ""
# ERROR: Nothing PROVIDES 'libseccomp' (but meta-virtualization/recipes-containers/podman/ 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', '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)
}