[isar-cip-core][PATCH v2 1/1] add sha256 fields for sw-description.tmpl


Jan Kiszka
 

On 04.11.22 04:11, peng_qiuming@... wrote:
From: Peng Qiu Ming <qiuming.peng@...>

isar-cip-core provides signature function in swupdate.bbclass file to support sign swu image,
but there are no such fields named "sha256" in sw-description.tmpl file to support that, this
patch will fix this issue.

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";
});
}
Thanks, applied.

Jan

--
Siemens AG, Technology
Competence Center Embedded Linux