Skip to contentSkip to conversation

opkg: use oe.qa.add_message istead of package_qa_add_message

PATCH New Chen Qi 1 participant 1 message Nov 2, 2021

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

PATCH 1/1 opkg: use oe.qa.add_message istead of package_qa_add_message

Since the following commit, package_qa_add_message is no longer available, use oe.qa.add_message instead.

"""
commit f0ad152ef4cc15c042bc9eeefb6af096d054b220

Author: Mike Crowe <[email protected]>
Date:   Fri Oct 15 15:39:53 2021 +0100

lib/oe/qa,insane: Move extra error handling functions to library

Extract package_qa_write_error, package_qa_handle_error and package_qa_add_message functions from insane.bbclass to lib/oe/qa.py and drop the package_qa_ prefixes.
...
"""

---
 meta/recipes-devtools/opkg/opkg_0.4.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/opkg/opkg_0.4.5.bb +1 -1
index ef18ccf63a..f5c7d11191 100644
@@ -67,7 +67,7 @@ def package_qa_check_openssl_deprecation (package, d, messages):
 
     pkgconfig = (d.getVar("PACKAGECONFIG") or "").split()
     if pkgconfig and 'openssl' in pkgconfig:
-        package_qa_add_message(messages, 'openssl-deprecation', '"openssl" in opkg.bb PACKAGECONFIG. Feed signature checking with OpenSSL will be deprecated in the next opkg release. Consider using GPG checking instead.')
+        oe.qa.add_message(messages, 'openssl-deprecation', '"openssl" in opkg.bb PACKAGECONFIG. Feed signature checking with OpenSSL will be deprecated in the next opkg release. Consider using GPG checking instead.')
         sane = False
 
     return sane
Signature · 1 line
2.33.0