Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Mueller, Daniel" <Daniel.Mueller@karlstorz.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v2] kernel.bbclass: Handle possible multiconfig.
Date: Wed, 19 Feb 2025 01:47:39 -0800	[thread overview]
Message-ID: <3702.1739958459103063665@lists.openembedded.org> (raw)
In-Reply-To: <ad3e4563833e3c899f0e10ee4c1eed6115554f12.camel@linuxfoundation.org>

[-- Attachment #1: Type: text/plain, Size: 1483 bytes --]

From: Sebastian Zenker <sebastian.zenker@gmx.de>
When specifying the dependencies of do_bundle_initramfs the current
multiconfig might not be the default. This fixes the dependencies between
the multiconfigs if the current differs to default.
Signed-off-by: Mueller, Daniel <daniel.mueller@karlstorz.com>
---
Your right, handling 'default' isn't required anymore, my apologies. I've
reworked the changes and tested them against the master branch.
Please also ignore the other 2 patches of the original patchset, those
have been been integrated into master already.
Regards, Daniel
meta/classes-recipe/kernel.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes-recipe/kernel.bbclass b/meta/classes-recipe/kernel.bbclass
index 617727a989..6fe7c60e17 100644
--- a/meta/classes-recipe/kernel.bbclass
+++ b/meta/classes-recipe/kernel.bbclass
@@ -146,7 +146,7 @@ set -e
# standalone for use by wic and other tools.
if image:
if d.getVar('INITRAMFS_MULTICONFIG'):
-            d.appendVarFlag('do_bundle_initramfs', 'mcdepends', ' mc::${INITRAMFS_MULTICONFIG}:${INITRAMFS_IMAGE}:do_image_complete')
+            d.appendVarFlag('do_bundle_initramfs', 'mcdepends', ' mc:${BB_CURRENT_MC}:${INITRAMFS_MULTICONFIG}:${INITRAMFS_IMAGE}:do_image_complete')
else:
d.appendVarFlag('do_bundle_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')
if image and bb.utils.to_boolean(d.getVar('INITRAMFS_IMAGE_BUNDLE')):

[-- Attachment #2: Type: text/html, Size: 1892 bytes --]

  reply	other threads:[~2025-02-19  9:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-06 14:22 [PATCH 0/3] Fix incorrect dependencies between multiconfigs Mueller, Daniel
2025-02-06 14:22 ` [PATCH 1/3] kernel.bbclass: Handle possible multiconfig Mueller, Daniel
2025-02-17 22:02   ` [OE-core] " Richard Purdie
2025-02-19  9:47     ` Mueller, Daniel [this message]
2025-02-06 14:22 ` [PATCH 2/3] kernel-fitImage.bbclass: " Mueller, Daniel
2025-02-06 14:22 ` [PATCH 3/3] kernel-fitImage.bbclass: Remove dependeny on initramfs image when bundled Mueller, Daniel
     [not found] <211554>
2025-02-18 13:54 ` [PATCH v2] kernel.bbclass: Handle possible multiconfig Mueller, Daniel

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=3702.1739958459103063665@lists.openembedded.org \
    --to=daniel.mueller@karlstorz.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