[oe] [PATCH] python-script: update license md5sum

Khem Raj raj.khem at gmail.com
Thu Aug 29 18:44:16 UTC 2019


On Thu, Aug 29, 2019 at 8:51 AM Adrian Bunk <bunk at stusta.de> wrote:
>
> On Thu, Aug 29, 2019 at 02:35:07PM +0000, Christophe PRIOUZEAU wrote:
> > Update md5sum of license file.
> >...
> > --- a/meta-python/recipes-devtools/python/python-scrypt.inc
> > +++ b/meta-python/recipes-devtools/python/python-scrypt.inc
> > @@ -1,6 +1,6 @@
> >  DESCRIPTION = "Bindings for the scrypt key derivation function library"
> >  LICENSE = "BSD-2-Clause"
> > -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-2-Clause;md5=8bef8e6712b1be5aa76af1ebde9d6378"
> > +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-2-Clause;md5=cb641bc04cda31daea161b1bc15da69f"
> >...
>
> The actual problem is that this does not do what LIC_FILES_CHKSUM is
> supposed to do.
>
> LIC_FILES_CHKSUM should verify that the license information in the
> software hasn't changed when upgrading it.
>

thats right and in most cases thats what it does too.

> These recipes check the copy of the license text in OE instead,
> which wouldn't change if the license of python-scrypt would change.
>

some packages just use license and do not include a license file in
which case the recipe
stubs it in. Not ideal but it is a band aid for such recipes.

> cu
> Adrian
>
> --
>
>        "Is there not promise of rain?" Ling Tan asked suddenly out
>         of the darkness. There had been need of rain for many days.
>        "Only a promise," Lao Er said.
>                                        Pearl S. Buck - Dragon Seed
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


More information about the Openembedded-devel mailing list