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";
});
}
--
2.34.1