[OE-core] [PATCH] image_types: fix checksum conversion dependencies

Khem Raj raj.khem at gmail.com
Mon Feb 24 21:55:24 UTC 2020


On Mon, Feb 24, 2020 at 10:39 AM Bartosz Golaszewski <
bgolaszewski at baylibre.com> wrote:

> pon., 24 lut 2020 o 17:07 Khem Raj <raj.khem at gmail.com> napisał(a):
> >
> >
> >
> > On Mon, Feb 24, 2020 at 6:15 AM Bartosz Golaszewski <brgl at bgdev.pl>
> wrote:
> >>
> >> From: Bartosz Golaszewski <bgolaszewski at baylibre.com>
> >>
> >> Only md5sum and sha256sum tools are provided by HOSTTOOLS. For other
> >> checksum utils, the conversions need to depend on coreutils-native.
> >>
> >> Signed-off-by: Bartosz Golaszewski <bgolaszewski at baylibre.com>
> >> ---
> >>  meta/classes/image_types.bbclass | 4 ++++
> >>  1 file changed, 4 insertions(+)
> >>
> >> diff --git a/meta/classes/image_types.bbclass
> b/meta/classes/image_types.bbclass
> >> index f82f1d8862..63ffbac7e6 100644
> >> --- a/meta/classes/image_types.bbclass
> >> +++ b/meta/classes/image_types.bbclass
> >> @@ -315,6 +315,10 @@ CONVERSION_DEPENDS_lzo = "lzop-native"
> >>  CONVERSION_DEPENDS_zip = "zip-native"
> >>  CONVERSION_DEPENDS_zst = "zstd-native"
> >>  CONVERSION_DEPENDS_sum = "mtd-utils-native"
> >> +CONVERSION_DEPENDS_sha1sum = "coreutils-native"
> >> +CONVERSION_DEPENDS_sha224sum = "coreutils-native"
> >> +CONVERSION_DEPENDS_sha384sum = "coreutils-native"
> >> +CONVERSION_DEPENDS_sha512sum = "coreutils-native"
> >
> >
> > If they are common enough on host distros then perhaps add them to
> HOSTTOOLS might be better
> >
>
> They are part of coreutils although I'm not sure how common they are
> in distros. They're not commonly used in poky recipes so I'd say it's
> fine for them to use coreutils-native.
>

If they are in centos7 baseinstall then we should be fine to add it to
hosttools

>
> Bart
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20200224/f59d8407/attachment-0001.html>


More information about the Openembedded-core mailing list