On Sat, May 28, 2022 at 01:48:06PM +0530, Bhargav R wrote: > From: bgvmysore <[email protected]> > > 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.
FWIW, this is specific to Dunfell and this class is completely deprecated in master/Kirkstone. > 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 (#13883): https://lists.yoctoproject.org/g/meta-arago/message/13883 Mute This Topic: https://lists.yoctoproject.org/mt/91394950/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
