All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [meta-arago] [PATCH] meta-arago-distro: classes: image_types_md5.bbclass: Fix hardcoded filename containing .rootfs to use IMAGE_NAME_SUFFIX.
       [not found] <20220528081806.11354-1-bgvmysore@gmail.com>
@ 2022-05-31 19:35 ` Denys Dmytriyenko
  0 siblings, 0 replies; only message in thread
From: Denys Dmytriyenko @ 2022-05-31 19:35 UTC (permalink / raw)
  To: Bhargav R; +Cc: meta-arago, reatmon, denys

On Sat, May 28, 2022 at 01:48:06PM +0530, Bhargav R wrote:
> From: bgvmysore <bgvmysore@gmail.com>
> 
> 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 <bgvmysore@gmail.com>
> ---
>  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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-31 19:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20220528081806.11354-1-bgvmysore@gmail.com>
2022-05-31 19:35 ` [meta-arago] [PATCH] meta-arago-distro: classes: image_types_md5.bbclass: Fix hardcoded filename containing .rootfs to use IMAGE_NAME_SUFFIX Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.