]> 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:08:09 +0000 (10:08 -0300)
commitce1e0af209c222cb877962104c4f807d5807fa1e
tree7ca5bc6551fd5a65bb8ed16de69324d02b991b8b
parentba48b43f92ed8e5dd635554b7bda0eaac5a1646b
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