public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Peter Kjellerstedt <pkj@axis.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH 1/2] packagegroup.bbclass: Reinstate the configure task
Date: Wed, 18 Mar 2026 22:59:33 +0100	[thread overview]
Message-ID: <20260318215934.1949404-1-pkj@axis.com> (raw)

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 <pkj@axis.com>
---
 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] = ""
 


             reply	other threads:[~2026-03-18 21:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-18 21:59 Peter Kjellerstedt [this message]
2026-03-18 21:59 ` [PATCH 2/2] Revert "insane.bbclass: Move test for invalid PACKAGECONFIGs to do_recipe_qa" Peter Kjellerstedt
2026-03-18 23:38   ` [OE-core] " Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260318215934.1949404-1-pkj@axis.com \
    --to=pkj@axis.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox