[isar-cip-core][PATCH] add sha256 field for sw-description.tmpl


Peng, Qiu Ming <QiuMing.Peng@...>
 

This patch adds sha256 field for sw-description.tmpl file which is expected to be used in do-swupdate-binary stage.

 

Signed-off-by: Peng Qiu Ming qiuming.peng@...

---

recipes-core/images/files/sw-description.tmpl | 2 ++

1 file changed, 2 insertions(+)

 

diff --git a/recipes-core/images/files/sw-description.tmpl b/recipes-core/images/files/sw-description.tmpl

index f5cafeb..1c0db02 100644

--- a/recipes-core/images/files/sw-description.tmpl

+++ b/recipes-core/images/files/sw-description.tmpl

@@ -21,6 +21,7 @@ software =

             properties: {

                         subtype = "image";

             };

+            sha256 = "${ROOTFS_PARTITION_NAME}-sha256";

     });

     files: ({

             filename = "linux.efi";

@@ -31,5 +32,6 @@ software =

             properties: {

                         subtype = "kernel";

             };

+            sha256 = "linux.efi-sha256";

     });

}

--

2.34.1