diff options
-rw-r--r-- | meta-oe/recipes-extended/ostree/ostree_2019.5.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-oe/recipes-extended/ostree/ostree_2019.5.bb b/meta-oe/recipes-extended/ostree/ostree_2019.5.bb index 035b4bb886..b3b34a15e6 100644 --- a/meta-oe/recipes-extended/ostree/ostree_2019.5.bb +++ b/meta-oe/recipes-extended/ostree/ostree_2019.5.bb | |||
@@ -182,10 +182,10 @@ SYSTEMD_SERVICE_${PN}-switchroot = "ostree-prepare-root.service" | |||
182 | BBCLASSEXTEND = "native" | 182 | BBCLASSEXTEND = "native" |
183 | 183 | ||
184 | python __anonymous() { | 184 | python __anonymous() { |
185 | if bb.utils.contains('PTEST_ENABLED', '1', 'True', 'False', d): | 185 | if not bb.data.inherits_class('native', d) and bb.utils.contains('PTEST_ENABLED', '1', 'True', 'False', d): |
186 | if 'meta-python' not in d.getVar('BBFILE_COLLECTIONS').split(): | 186 | if not bb.utils.contains_any('BBFILE_COLLECTIONS', 'meta-python', 'True', 'False', d): |
187 | raise bb.parse.SkipRecipe('ptest requires meta-python to be present.') | 187 | raise bb.parse.SkipRecipe('ptest requires meta-python to be present.') |
188 | elif 'soup' not in d.getVar('PACKAGECONFIG').split(): | 188 | elif not bb.utils.contains_any('PACKAGECONFIG', 'soup curl', 'True', 'False', d): |
189 | raise bb.parse.SkipRecipe('ptest requires soup enabled in PACKAGECONFIG.') | 189 | raise bb.parse.SkipRecipe('ptest requires soup enabled in PACKAGECONFIG.') |
190 | elif not oe.utils.any_distro_features(d, "xattr"): | 190 | elif not oe.utils.any_distro_features(d, "xattr"): |
191 | raise bb.parse.SkipRecipe('ptest requires xattr enabled in DISTRO_FEATURES.') | 191 | raise bb.parse.SkipRecipe('ptest requires xattr enabled in DISTRO_FEATURES.') |