]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
kernel-fitImage: Strip path component from dtb
authorNinad Palsule <ninad@linux.ibm.com>
Wed, 27 Sep 2023 14:34:22 +0000 (09:34 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Sep 2023 11:37:44 +0000 (12:37 +0100)
commit941ba1a132bafa9c9be855fb91fec96d8b06299f
tree3f4a36750d8478485cffd932535f7924a022669d
parent0472fbbe24a3260399acc57cfae1f6d3e69ab756
kernel-fitImage: Strip path component from dtb

Machines that have added subdirectires to the KERNEL_DEVICETREE
recently, such as arm32 boards that were moved under subdirectories in
Linux 6.5, will have that subdirectory in the node name of the FIT. This
breaks existing systems that select a configuration in u-boot by it's
name.

Strip off the directory component from the device tree to preserve
compatibility.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/classes-recipe/kernel-fitimage.bbclass