diff options
-rw-r--r-- | meta/classes/base.bbclass | 4 | ||||
-rw-r--r-- | meta/classes/features_check.bbclass | 3 | ||||
-rw-r--r-- | meta/lib/oeqa/selftest/cases/distrodata.py | 7 |
3 files changed, 8 insertions, 6 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 5e5cf66322..7bfb1d1912 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -496,7 +496,7 @@ python () { | |||
496 | d.appendVarFlag('do_devshell', 'depends', ' virtual/fakeroot-native:do_populate_sysroot') | 496 | d.appendVarFlag('do_devshell', 'depends', ' virtual/fakeroot-native:do_populate_sysroot') |
497 | 497 | ||
498 | need_machine = d.getVar('COMPATIBLE_MACHINE') | 498 | need_machine = d.getVar('COMPATIBLE_MACHINE') |
499 | if need_machine: | 499 | if need_machine and not d.getVar('PARSE_ALL_RECIPES', False): |
500 | import re | 500 | import re |
501 | compat_machines = (d.getVar('MACHINEOVERRIDES') or "").split(":") | 501 | compat_machines = (d.getVar('MACHINEOVERRIDES') or "").split(":") |
502 | for m in compat_machines: | 502 | for m in compat_machines: |
@@ -505,7 +505,7 @@ python () { | |||
505 | else: | 505 | else: |
506 | raise bb.parse.SkipRecipe("incompatible with machine %s (not in COMPATIBLE_MACHINE)" % d.getVar('MACHINE')) | 506 | raise bb.parse.SkipRecipe("incompatible with machine %s (not in COMPATIBLE_MACHINE)" % d.getVar('MACHINE')) |
507 | 507 | ||
508 | source_mirror_fetch = d.getVar('SOURCE_MIRROR_FETCH', False) | 508 | source_mirror_fetch = d.getVar('SOURCE_MIRROR_FETCH', False) or d.getVar('PARSE_ALL_RECIPES', False) |
509 | if not source_mirror_fetch: | 509 | if not source_mirror_fetch: |
510 | need_host = d.getVar('COMPATIBLE_HOST') | 510 | need_host = d.getVar('COMPATIBLE_HOST') |
511 | if need_host: | 511 | if need_host: |
diff --git a/meta/classes/features_check.bbclass b/meta/classes/features_check.bbclass index 391fbe1c94..876d32e315 100644 --- a/meta/classes/features_check.bbclass +++ b/meta/classes/features_check.bbclass | |||
@@ -23,6 +23,9 @@ | |||
23 | # Copyright 2013 (C) O.S. Systems Software LTDA. | 23 | # Copyright 2013 (C) O.S. Systems Software LTDA. |
24 | 24 | ||
25 | python () { | 25 | python () { |
26 | if d.getVar('PARSE_ALL_RECIPES', False): | ||
27 | return | ||
28 | |||
26 | # Assume at least one var is set. | 29 | # Assume at least one var is set. |
27 | distro_features = set((d.getVar('DISTRO_FEATURES') or '').split()) | 30 | distro_features = set((d.getVar('DISTRO_FEATURES') or '').split()) |
28 | 31 | ||
diff --git a/meta/lib/oeqa/selftest/cases/distrodata.py b/meta/lib/oeqa/selftest/cases/distrodata.py index 5f7f488349..e1cfc3b621 100644 --- a/meta/lib/oeqa/selftest/cases/distrodata.py +++ b/meta/lib/oeqa/selftest/cases/distrodata.py | |||
@@ -56,15 +56,14 @@ but their recipes claim otherwise by setting UPSTREAM_VERSION_UNKNOWN. Please re | |||
56 | return False | 56 | return False |
57 | 57 | ||
58 | def is_maintainer_exception(entry): | 58 | def is_maintainer_exception(entry): |
59 | exceptions = ["systemd", "musl", "libpam", "newlib", "linux-yocto", "opensbi", "linux-dummy", | 59 | exceptions = ["musl", "newlib", "linux-yocto", "linux-dummy", "mesa-gl", "libgfortran", |
60 | "mesa-gl", "libgfortran", "volatile-binds", "libgloss", "bsd-headers", | 60 | "cve-update-db-native"] |
61 | "cve-update-db-native", "libssp-nonshared", "argp-standalone", "fts"] | ||
62 | for i in exceptions: | 61 | for i in exceptions: |
63 | if i in entry: | 62 | if i in entry: |
64 | return True | 63 | return True |
65 | return False | 64 | return False |
66 | 65 | ||
67 | feature = 'require conf/distro/include/maintainers.inc\nLICENSE_FLAGS_WHITELIST += " commercial"\n' | 66 | feature = 'require conf/distro/include/maintainers.inc\nLICENSE_FLAGS_WHITELIST += " commercial"\nPARSE_ALL_RECIPES = "1"\n' |
68 | self.write_config(feature) | 67 | self.write_config(feature) |
69 | 68 | ||
70 | with bb.tinfoil.Tinfoil() as tinfoil: | 69 | with bb.tinfoil.Tinfoil() as tinfoil: |