In meta-arago-distro/classes/image_types_md5.bbclass, the filename for md5sum 
is is hardcoded with .rootfs as suffix.
The build fails in do_image_tar if IMAGE_NAME_SUFFIX is set to a different 
value.
Changing '.rootfs' to ${IMAGE_NAME_SUFFIX} to fix this issue.

Signed-off-by: Bhargav Raviprakash <[email protected]>
---
 meta-arago-distro/classes/image_types_md5.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-arago-distro/classes/image_types_md5.bbclass 
b/meta-arago-distro/classes/image_types_md5.bbclass
index 9e2c04fa..4712e1a1 100644
--- a/meta-arago-distro/classes/image_types_md5.bbclass
+++ b/meta-arago-distro/classes/image_types_md5.bbclass
@@ -1,9 +1,9 @@
 inherit image_types
 
 COMPRESSIONTYPES += "gz.md5"
-COMPRESS_CMD_gz.md5 = "${COMPRESS_CMD_gz}; md5sum 
${IMAGE_NAME}.rootfs.${type}.gz > ${IMAGE_NAME}.rootfs.${type}.gz.md5"
+COMPRESS_CMD_gz.md5 = "${COMPRESS_CMD_gz}; md5sum 
${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.gz > 
${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.gz.md5"
 IMAGE_TYPES += "tar.gz.md5"
 
 COMPRESSIONTYPES += "xz.md5"
-COMPRESS_CMD_xz.md5 = "${COMPRESS_CMD_xz}; md5sum 
${IMAGE_NAME}.rootfs.${type}.xz > ${IMAGE_NAME}.rootfs.${type}.xz.md5"
+COMPRESS_CMD_xz.md5 = "${COMPRESS_CMD_xz}; md5sum 
${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.xz > 
${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.xz.md5"
 IMAGE_TYPES += "tar.xz.md5"
-- 
2.34.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14059): 
https://lists.yoctoproject.org/g/meta-arago/message/14059
Mute This Topic: https://lists.yoctoproject.org/mt/94183943/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to