[meta-swupdate][PATCH] README: Adapt to the new sha256 syntax

58 views
Skip to first unread message

Fabio Estevam

unread,
Jun 13, 2022, 2:29:00 PM6/13/22
to swup...@googlegroups.com, Fabio Estevam
The new recommended syntax for passing the sha256 of the image is
to use the $swupdate_get_sha256() format.

Switch to the new syntax.

Signed-off-by: Fabio Estevam <fest...@denx.de>
---
README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README b/README
index 99e7d72..52987bd 100644
--- a/README
+++ b/README
@@ -22,8 +22,8 @@ line `version = "@@DISTRO_VERSION@@";` in your sw-description file.
Image hashing
-------------

-During creation of the update file, occurrences of @IMAGE (where IMAGE is an
-image filename) are replaced with the sha256 hash of the image.
+During creation of the update file, to get the sha256 hash of the image,
+pass $swupdate_get_sha256(IMAGE) (where IMAGE is an image filename).

BitBake auto versions
---------------------
--
2.25.1

Stefano Babic

unread,
Jun 14, 2022, 6:32:56 AM6/14/22
to Fabio Estevam, swup...@googlegroups.com
Applied to -master, -kirkstone, -honister, -dunfell, thanks !

Best regards,
Stefano Babic

--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de
=====================================================================
Reply all
Reply to author
Forward
0 new messages