mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
podman: fix layer check cut & paste errors
The layer check for podman was copied from cri-o .. and some non podman elements came over as part of that copy. We drop selinux as a check, and fix some comments. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
9e7345d8ec
commit
4e35b5d861
|
@ -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 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', '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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user