]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
kernel-fitimage: allow overriding FIT configuration prefix
authorAhmad Fatoum <a.fatoum@pengutronix.de>
Tue, 15 Mar 2022 17:23:53 +0000 (18:23 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Mar 2022 10:31:37 +0000 (10:31 +0000)
commit7892ee3dc37d302c8eb9c13cd8bb4b7b6e103949
treeae934ed54a7d61c0261f00eefd1887d4cb05db0b
parent3da6a4151ed3d69595548931a86a64268be55749
kernel-fitimage: allow overriding FIT configuration prefix

The prefix was recently changed to play ball with the CVE-2021-27138
workaround in U-Boot. Already deployed bootloaders though may still
expect a configuration name containing @ or they may not be affected
by this issue.

Also, uses may want to customize it beyond the [@-] issue: When
device trees are built from a recipe using kernel-devicetree.bbclass
the configuration nodes will contain the parent directories, e.g.

KERNEL_DEVICETREE = "freescale/imx8mm-myboard.dtb"

will become "conf-freescale_imx8mm-myboard.dtb". When moving to
devicetree.bbclass, this prefix go away. With this change here,
users can restore it easily by setting FIT_CONF_PREFIX =
"conf-freescale_", ensuring backwards compatibility.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-fitimage.bbclass