Message ID | 20211004132713.1827767-1-Quirin.Gylstorff@siemens.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [v2] kas/opt/swupdate: Change assignment of IMAGE_TYPE and WKS_FILE | expand |
On 04.10.21 15:27, Q. Gylstorff wrote: > From: Quirin Gylstorff <quirin.gylstorff@siemens.com> > > Replace the default assignment to ensure the generation of the > swu file. As stated in [1]: If multiple `?=` assignments are used > the first of those assignments ends up getting used. > > This fixes [2]. > > [1]: https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-metadata.html#setting-a-default-value > [2]: https://gitlab.com/cip-project/cip-core/isar-cip-core/-/issues/14 > > Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com> > --- > kas/opt/swupdate.yml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kas/opt/swupdate.yml b/kas/opt/swupdate.yml > index 7d86ad5..bd0f6e4 100644 > --- a/kas/opt/swupdate.yml > +++ b/kas/opt/swupdate.yml > @@ -19,5 +19,5 @@ local_conf_header: > IMAGE_INSTALL_append = " swupdate" > > wic-swu: | > - IMAGE_TYPE ?= "wic-swu-img" > + IMAGE_TYPE = "wic-swu-img" > WKS_FILE ?= "${MACHINE}-${SWUPDATE_BOOTLOADER}.wks" > Thanks, replaced v1 with this in next. Jan
diff --git a/kas/opt/swupdate.yml b/kas/opt/swupdate.yml index 7d86ad5..bd0f6e4 100644 --- a/kas/opt/swupdate.yml +++ b/kas/opt/swupdate.yml @@ -19,5 +19,5 @@ local_conf_header: IMAGE_INSTALL_append = " swupdate" wic-swu: | - IMAGE_TYPE ?= "wic-swu-img" + IMAGE_TYPE = "wic-swu-img" WKS_FILE ?= "${MACHINE}-${SWUPDATE_BOOTLOADER}.wks"