Message ID | 20220613182840.2662035-1-festevam@denx.de |
---|---|
State | Accepted |
Headers | show |
Series | [meta-swupdate] README: Adapt to the new sha256 syntax | expand |
On 13.06.22 20:28, Fabio Estevam wrote: > 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 <festevam@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 > --------------------- Applied to -master, -kirkstone, -honister, -dunfell, thanks ! Best regards, Stefano Babic
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 ---------------------
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 <festevam@denx.de> --- README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)