From 116cb2ac263040884ec2ab0eca109db5601bd141 Mon Sep 17 00:00:00 2001 From: Francisco Gil Date: Mon, 14 Nov 2022 17:38:11 +0100 Subject: [PATCH] swu-images: fix sha256 entry from sw-description file in dualboot This commit fixes the following build warning with the swupdate v2022.05: WARNING: dey-image-qt-swu-1.0-r0 do_swuimage: Syntax for sha256 changed, please use $swupdate_get_sha256(dey-image-qt-wayland-ccmp15-dvk.boot.ubifs) WARNING: dey-image-qt-swu-1.0-r0 do_swuimage: Syntax for sha256 changed, please use $swupdate_get_sha256(dey-image-qt-wayland-ccmp15-dvk.ubifs) WARNING: dey-image-qt-swu-1.0-r0 do_swuimage: Syntax for sha256 changed, please use $swupdate_get_sha256(dey-image-qt-wayland-ccmp15-dvk.boot.ubifs) WARNING: dey-image-qt-swu-1.0-r0 do_swuimage: Syntax for sha256 changed, please use $swupdate_get_sha256(dey-image-qt-wayland-ccmp15-dvk.ubifs) WARNING: dey-image-qt-swu-1.0-r0 do_swuimage: Syntax for sha256 changed, please use $swupdate_get_sha256(dey-image-qt-wayland-ccmp15-dvk.boot.ubifs) WARNING: dey-image-qt-swu-1.0-r0 do_swuimage: Syntax for sha256 changed, please use $swupdate_get_sha256(dey-image-qt-wayland-ccmp15-dvk.ubifs) WARNING: dey-image-qt-swu-1.0-r0 do_swuimage: Syntax for sha256 changed, please use $swupdate_get_sha256(dey-image-qt-wayland-ccmp15-dvk.boot.ubifs) WARNING: dey-image-qt-swu-1.0-r0 do_swuimage: Syntax for sha256 changed, please use $swupdate_get_sha256(dey-image-qt-wayland-ccmp15-dvk.ubifs) Signed-off-by: Francisco Gil --- .../swu-images/files/sw-description-dualboot | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/meta-digi-dey/recipes-digi/swu-images/files/sw-description-dualboot b/meta-digi-dey/recipes-digi/swu-images/files/sw-description-dualboot index 4822d93b9..52a93b25c 100644 --- a/meta-digi-dey/recipes-digi/swu-images/files/sw-description-dualboot +++ b/meta-digi-dey/recipes-digi/swu-images/files/sw-description-dualboot @@ -9,14 +9,14 @@ software = filename = "##BOOTIMG_NAME##"; device = "##BOOT_DEV_A##"; type = "raw"; - sha256 = "@##BOOTIMG_NAME##"; + sha256 = "$swupdate_get_sha256(##BOOTIMG_NAME##)"; installed-directly = true; }, { filename = "##ROOTIMG_NAME##"; device = "##ROOTFS_DEV_A##"; type = "raw"; - sha256 = "@##ROOTIMG_NAME##"; + sha256 = "$swupdate_get_sha256(##ROOTIMG_NAME##)"; compressed = "zlib"; installed-directly = true; } @@ -34,14 +34,14 @@ software = filename = "##BOOTIMG_NAME##"; device = "##BOOT_DEV_B##"; type = "raw"; - sha256 = "@##BOOTIMG_NAME##"; + sha256 = "$swupdate_get_sha256(##BOOTIMG_NAME##)"; installed-directly = true; }, { filename = "##ROOTIMG_NAME##"; device = "##ROOTFS_DEV_B##"; type = "raw"; - sha256 = "@##ROOTIMG_NAME##"; + sha256 = "$swupdate_get_sha256(##ROOTIMG_NAME##)"; compressed = "zlib"; installed-directly = true; } @@ -61,14 +61,14 @@ software = filename = "##BOOTIMG_NAME##"; volume = "##BOOT_DEV_A##"; type = "ubivol"; - sha256 = "@##BOOTIMG_NAME##"; + sha256 = "$swupdate_get_sha256(##BOOTIMG_NAME##)"; installed-directly = true; }, { filename = "##ROOTIMG_NAME##"; volume = "##ROOTFS_DEV_A##"; type = "ubivol"; - sha256 = "@##ROOTIMG_NAME##"; + sha256 = "$swupdate_get_sha256(##ROOTIMG_NAME##)"; installed-directly = true; } ); @@ -85,14 +85,14 @@ software = filename = "##BOOTIMG_NAME##"; volume = "##BOOT_DEV_B##"; type = "ubivol"; - sha256 = "@##BOOTIMG_NAME##"; + sha256 = "$swupdate_get_sha256(##BOOTIMG_NAME##)"; installed-directly = true; }, { filename = "##ROOTIMG_NAME##"; volume = "##ROOTFS_DEV_B##"; type = "ubivol"; - sha256 = "@##ROOTIMG_NAME##"; + sha256 = "$swupdate_get_sha256(##ROOTIMG_NAME##)"; installed-directly = true; } );