]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
kernel-fitImage: Strip path component from dtb
authorNinad Palsule <ninad@linux.ibm.com>
Thu, 23 Nov 2023 15:43:51 +0000 (16:43 +0100)
committerSteve Sakoman <steve@sakoman.com>
Tue, 28 Nov 2023 15:11:52 +0000 (05:11 -1000)
commit9a42349a176ca4d7a1bfab3425a0821dbcbd9368
tree990dd009dfb2832802ecc5ad1fa94653d571e867
parent8c83a25494f99ebe63f59a267001e4a19d0a6b14
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.

(From OE-Core rev: 941ba1a132bafa9c9be855fb91fec96d8b06299f)

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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> # backport to kirkstone
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/kernel-fitimage.bbclass