IMAGE_LINK_NAME was changed since scarthgap and this mismatches with the
class. Use IMAGE_BASENAME instead.
Signed-off-by: Stefano Babic <
stefan...@swupdate.org>
---
Note: this helps after IMAGE_LINKNAME has added a .rootfs in the name (since scarthgap)
Note: patch should flow in both -master and -scarthgap, this can cause some breakages.
classes-recipe/swupdate-image.bbclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/classes-recipe/swupdate-image.bbclass b/classes-recipe/swupdate-image.bbclass
index 175fc4e..69b8794 100644
--- a/classes-recipe/swupdate-image.bbclass
+++ b/classes-recipe/swupdate-image.bbclass
@@ -16,10 +16,10 @@ inherit image-artifact-names
S = "${WORKDIR}/${PN}"
SRC_URI += "file://sw-description"
-SWUPDATE_IMAGES += "${IMAGE_LINK_NAME}"
+SWUPDATE_IMAGES += "${IMAGE_BASENAME}"
python () {
- image = d.getVar('IMAGE_LINK_NAME')
+ image = d.getVar('IMAGE_BASENAME')
if d.getVarFlag("SWUPDATE_IMAGES_FSTYPES", image) is None:
flag = d.getVarFlag("SWUPDATE_IMAGES_FSTYPES", d.getVar('IMAGE_BASENAME'))
if flag:
--
2.34.1