From cf43c47278ccc80364660dfe868755d5526dab98 Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Wed, 11 May 2022 17:34:44 +0200 Subject: [PATCH] swu-images: fix sha256 entry from sw-description file This commit fixes the following build warning with the swupdate v2021.11: WARNING: dey-image-qt-swu-1.0-r0 do_swuimage: Syntax for sha256 changed, please use $swupdate_get_sha256(dey-image-qt-xxxxxx.boot.ubifs) WARNING: dey-image-qt-swu-1.0-r0 do_swuimage: Syntax for sha256 changed, please use $swupdate_get_sha256(dey-image-qt-xxxxxx.ubifs) Signed-off-by: Arturo Buzarra --- .../recipes-digi/swu-images/files/sw-description | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta-digi-dey/recipes-digi/swu-images/files/sw-description b/meta-digi-dey/recipes-digi/swu-images/files/sw-description index 447de9884..d2ee699f1 100644 --- a/meta-digi-dey/recipes-digi/swu-images/files/sw-description +++ b/meta-digi-dey/recipes-digi/swu-images/files/sw-description @@ -10,14 +10,14 @@ software = filename = "##BOOTIMG_NAME##"; device = "##BOOT_DEV##"; type = "raw"; - sha256 = "@##BOOTIMG_NAME##"; + sha256 = "$swupdate_get_sha256(##BOOTIMG_NAME##)"; installed-directly = true; }, { filename = "##ROOTIMG_NAME##"; device = "##ROOTFS_DEV##"; type ="raw"; - sha256 = "@##ROOTIMG_NAME##"; + sha256 = "$swupdate_get_sha256(##ROOTIMG_NAME##)"; compressed = "zlib"; installed-directly = true; } @@ -31,14 +31,14 @@ software = filename = "##BOOTIMG_NAME##"; volume = "##BOOT_DEV##"; type = "ubivol"; - sha256 = "@##BOOTIMG_NAME##"; + sha256 = "$swupdate_get_sha256(##BOOTIMG_NAME##)"; installed-directly = true; }, { filename = "##ROOTIMG_NAME##"; volume = "##ROOTFS_DEV##"; type ="ubivol"; - sha256 = "@##ROOTIMG_NAME##"; + sha256 = "$swupdate_get_sha256(##ROOTIMG_NAME##)"; installed-directly = true; } );