summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich Ölmann <u.oelmann@pengutronix.de>2024-10-16 08:47:56 +0200
committerKhem Raj <raj.khem@gmail.com>2024-10-16 08:16:06 -0700
commite152f01daf1ceca1cad1f762435589a0b6a210f9 (patch)
tree4b6941ccba9c2581741d9e6d33b37cca7f975c90
parent6ddab4a43af7285aec5c3ff40094b4cbd994b56b (diff)
downloadmeta-openembedded-e152f01daf1ceca1cad1f762435589a0b6a210f9.tar.gz
fitimage: fix name of default configuration
The new fitimage.bbclass was introduced via GitHub pullrequest [1]. There was a small force-push which implemented a prefix for the names of the configuration nodes to harmonize the class with the mechanism found in OE-core (see [2] & [3]). Unfortunately it was forgotten to also apply that prefix to the name of the configuration to utilize by default - fix that. [1] https://github.com/openembedded/meta-openembedded/pull/882 [2] https://github.com/openembedded/meta-openembedded/pull/882#issuecomment-2402218973 [3] https://github.com/openembedded/meta-openembedded/compare/0773f63e829b399a3e87cee03b009846c48b8429..32e7947154ea10e17f5db95d6bfaaf5074663fc7 Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/classes/fitimage.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/classes/fitimage.bbclass b/meta-oe/classes/fitimage.bbclass
index 78e30eca33..ebd034883b 100644
--- a/meta-oe/classes/fitimage.bbclass
+++ b/meta-oe/classes/fitimage.bbclass
@@ -302,7 +302,7 @@ def fitimage_emit_section_config(d, fd, dtb, kernelcount, ramdiskcount, setupcou
302 if bootscriptid: 302 if bootscriptid:
303 conf_desc += ", u-boot script" 303 conf_desc += ", u-boot script"
304 if dtbcount == 1: 304 if dtbcount == 1:
305 conf_default = d.getVar('FITIMAGE_DEFAULT_CONFIG', True) or dtb 305 conf_default = d.getVar('FITIMAGE_DEFAULT_CONFIG', True) or f'{conf_prefix}{dtb}'
306 306
307 if conf_default: 307 if conf_default:
308 fd.write(f'\t\tdefault = "{conf_default}";\n') 308 fd.write(f'\t\tdefault = "{conf_default}";\n')