summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/insane.bbclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index ead6ec1a86..7a84465ca6 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -23,7 +23,7 @@
23# The package.bbclass can help us here. 23# The package.bbclass can help us here.
24# 24#
25inherit package 25inherit package
26PACKAGE_DEPENDS += "pax-utils-native desktop-file-utils-native ${QADEPENDS}" 26PACKAGE_DEPENDS += "pax-utils-native ${QADEPENDS}"
27PACKAGEFUNCS += " do_package_qa " 27PACKAGEFUNCS += " do_package_qa "
28 28
29# unsafe-references-in-binaries requires prelink-rtld from 29# unsafe-references-in-binaries requires prelink-rtld from
@@ -722,3 +722,9 @@ do_populate_sysroot[postfuncs] += "do_qa_staging "
722# have it in DEPENDS and for correct LIC_FILES_CHKSUM 722# have it in DEPENDS and for correct LIC_FILES_CHKSUM
723#addtask qa_configure after do_configure before do_compile 723#addtask qa_configure after do_configure before do_compile
724do_configure[postfuncs] += "do_qa_configure " 724do_configure[postfuncs] += "do_qa_configure "
725
726python () {
727 tests = d.getVar('WARN_QA', True) + " " + d.getVar('ERROR_QA', True)
728 if tests.find("desktop") != -1:
729 d.appendVar("PACKAGE_DEPENDS", "desktop-file-utils-native")
730}