]> code.ossystems Code Review - meta-freescale.git/commit
image_types_fsl.bbclass: Fail if a Device Tree file is missing
authorOtavio Salvador <otavio@ossystems.com.br>
Wed, 14 Oct 2015 18:26:53 +0000 (15:26 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 19 Apr 2016 18:03:21 +0000 (15:03 -0300)
commit99d677c91064426fddd7cf0fa49da4188092416f
tree5983bd631c315177827b5ef1806ee9fcc991e95e
parentff25379b23b75a9204e6e1126543c70f10d2b910
image_types_fsl.bbclass: Fail if a Device Tree file is missing

When generating the rootfs we need to include all the referenced
Device Tree files. The code were gracefully checking if the file
existed before building the image however the expected behavior is to
fail.

As consequence of this change, if someone is using a very old kernel
(no Device Tree based) and tries to generate an image, it will fail
until the machine definition is changed to not list Device Tree files
for installation.

Currently all machines supported by meta-fsl-arm BSP are consistent
for the default kernel in use however custom BSP may need to be
changed accordingly.

Change-Id: I548c65c61dfefe24154a455d097032b1598b14d3
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
classes/image_types_fsl.bbclass