We need the qa_configure postfunc to run so that it will detect any
invalid PACKAGCONFIGs being used. Thus, the configure task needs to
exists (but it can be empty).

Signed-off-by: Peter Kjellerstedt <[email protected]>
---
 meta/classes-recipe/packagegroup.bbclass | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/meta/classes-recipe/packagegroup.bbclass 
b/meta/classes-recipe/packagegroup.bbclass
index cf6fc354a8..fe959a4284 100644
--- a/meta/classes-recipe/packagegroup.bbclass
+++ b/meta/classes-recipe/packagegroup.bbclass
@@ -49,11 +49,16 @@ DEPCHAIN_DBGDEFAULTDEPS = "1"
 deltask do_fetch
 deltask do_unpack
 deltask do_patch
-deltask do_configure
 deltask do_compile
 deltask do_install
 deltask do_populate_sysroot
 
+# We need the qa_configure postfunc to run so that it will detect any invalid
+# PACKAGCONFIGs being used. Thus, the configure task needs to remain.
+addtask configure before do_package
+do_configure() {
+}
+
 do_create_runtime_spdx[deptask] = "do_create_spdx"
 do_create_runtime_spdx[rdeptask] = ""
 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#233436): 
https://lists.openembedded.org/g/openembedded-core/message/233436
Mute This Topic: https://lists.openembedded.org/mt/118391415/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to