From 7adf7eab3054561e010c89b9db91888bde49d6a7 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Thu, 7 Sep 2017 13:34:39 -0700 Subject: image_type_tezi: make sure UBOOT_BINARY is defined UBOOT_BINARY is only available in U-Boot recipes and the Toradex image recipes. If the Toradex image recipes are not used, then UBOOT_BINARY is undefined and image.json contains "null" instead of the binary name. Define UBOOT_BINARY with a reasonable default. Signed-off-by: Stefan Agner Acked-by: Marcel Ziswiler --- classes/image_type_tezi.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/image_type_tezi.bbclass b/classes/image_type_tezi.bbclass index 4e765e6..828a6e5 100644 --- a/classes/image_type_tezi.bbclass +++ b/classes/image_type_tezi.bbclass @@ -2,6 +2,8 @@ inherit image_types IMAGE_DEPENDS_teziimg = "tezi-metadata:do_deploy virtual/bootloader" +UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}" + def rootfs_get_size(d): import subprocess -- cgit v1.2.3