summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Zenker <sebastian.zenker@gmx.de>2025-02-18 14:54:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-02-25 12:17:22 +0000
commitf99540de7bdb63af70f1e292422619a6e65bf874 (patch)
treeec47a8bdd781340f5921d7a45d3ad7a5af013b60
parent0df1318e5ce1275b284b00860633ac4fb9627482 (diff)
downloadpoky-f99540de7bdb63af70f1e292422619a6e65bf874.tar.gz
kernel.bbclass: Handle possible multiconfig.
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. (From OE-Core rev: 2e40466af83a3c66aef878e3f08a891405199ebe) Signed-off-by: Mueller, Daniel <daniel.mueller@karlstorz.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes-recipe/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
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
146 # standalone for use by wic and other tools. 146 # standalone for use by wic and other tools.
147 if image: 147 if image:
148 if d.getVar('INITRAMFS_MULTICONFIG'): 148 if d.getVar('INITRAMFS_MULTICONFIG'):
149 d.appendVarFlag('do_bundle_initramfs', 'mcdepends', ' mc::${INITRAMFS_MULTICONFIG}:${INITRAMFS_IMAGE}:do_image_complete') 149 d.appendVarFlag('do_bundle_initramfs', 'mcdepends', ' mc:${BB_CURRENT_MC}:${INITRAMFS_MULTICONFIG}:${INITRAMFS_IMAGE}:do_image_complete')
150 else: 150 else:
151 d.appendVarFlag('do_bundle_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete') 151 d.appendVarFlag('do_bundle_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')
152 if image and bb.utils.to_boolean(d.getVar('INITRAMFS_IMAGE_BUNDLE')): 152 if image and bb.utils.to_boolean(d.getVar('INITRAMFS_IMAGE_BUNDLE')):