diff options
-rw-r--r-- | meta-oe/classes/check-version-mismatch.bbclass | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-oe/classes/check-version-mismatch.bbclass b/meta-oe/classes/check-version-mismatch.bbclass index 7198895fed..a10b67c40a 100644 --- a/meta-oe/classes/check-version-mismatch.bbclass +++ b/meta-oe/classes/check-version-mismatch.bbclass | |||
@@ -207,6 +207,14 @@ python do_package_check_version_mismatch() { | |||
207 | os.makedirs(debug_directory, exist_ok=True) | 207 | os.makedirs(debug_directory, exist_ok=True) |
208 | data_lines.append("pv: %s\n" % pv) | 208 | data_lines.append("pv: %s\n" % pv) |
209 | 209 | ||
210 | # handle a special case: a pure % means matching all, no point in further checking | ||
211 | if pv == "%": | ||
212 | if enable_debug: | ||
213 | data_lines.append("FINAL RESULT: MATCH (%s matches all, skipped)\n\n" % pv) | ||
214 | with open(debug_data_file, "w") as f: | ||
215 | f.writelines(data_lines) | ||
216 | return | ||
217 | |||
210 | got_quick_match_result = False | 218 | got_quick_match_result = False |
211 | # handle python3-xxx recipes quickly | 219 | # handle python3-xxx recipes quickly |
212 | __regex_python_module_version__ = re.compile(r"(?:^|.*:)Version: (?P<version>.*)$") | 220 | __regex_python_module_version__ = re.compile(r"(?:^|.*:)Version: (?P<version>.*)$") |