]> code.ossystems Code Review - meta-freescale.git/commit
image_types_fsl: fix for dtb filenames containing multiple dots
authorMax Krummenacher <max.oss.09@gmail.com>
Sun, 27 Aug 2017 10:22:43 +0000 (12:22 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 30 Aug 2017 13:17:43 +0000 (10:17 -0300)
commit42c201bd862db37a73721e99cdb27b80f937f3ee
tree15c356b37310c910e055fc6786e87db96e7f3e7c
parentcc13477949736d03fff05a52564516fe65b7eb19
image_types_fsl: fix for dtb filenames containing multiple dots

In _generate_boot_image(), if a dtb file has more than one dot the
current logic fails. e.g. 'device.tree.dtb' will be truncated at the
first dot to 'device' while it should be 'device.tree'.

Fix by removing awk in favour of letting basename also remove
the .dtb extension.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
classes/image_types_fsl.bbclass