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

"""
commit f0ad152ef4cc15c042bc9eeefb6af096d054b220
Author: Mike Crowe <m...@mcrowe.com>
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.
...
"""

Signed-off-by: Chen Qi <qi.c...@windriver.com>
---
 meta/recipes-devtools/opkg/opkg_0.4.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/opkg/opkg_0.4.5.bb 
b/meta/recipes-devtools/opkg/opkg_0.4.5.bb
index ef18ccf63a..f5c7d11191 100644
--- a/meta/recipes-devtools/opkg/opkg_0.4.5.bb
+++ b/meta/recipes-devtools/opkg/opkg_0.4.5.bb
@@ -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
-- 
2.33.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157737): 
https://lists.openembedded.org/g/openembedded-core/message/157737
Mute This Topic: https://lists.openembedded.org/mt/86760214/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to