Hi Dorinda,

On Wed, Jan 27, 2021 at 02:27:12PM +0100, Dorinda wrote:
> Added package options for libdebuginfod.
> Added GPLv2+ | LGPLv3+ license for libdebuginfod with reference to 
> https://sourceware.org/git/?p=elfutils.git;a=blob;f=debuginfod/debuginfod-client.c;h=de26af5bb26e187b51d9ea00d5826e199a96d01a;hb=HEAD
> 
> [YOCTO #13807]
> 
> Signed-off-by: Dorinda Bassey <dorindabas...@gmail.com>
> ---
> v4:
> -changed LIC_FILES_CHKSUM for debuginfod-client.c
> 
>  meta/recipes-devtools/elfutils/elfutils_0.182.bb | 10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)
> 
> diff --git a/meta/recipes-devtools/elfutils/elfutils_0.182.bb 
> b/meta/recipes-devtools/elfutils/elfutils_0.182.bb
> index f63208d72b..0b4c30b936 100644
> --- a/meta/recipes-devtools/elfutils/elfutils_0.182.bb
> +++ b/meta/recipes-devtools/elfutils/elfutils_0.182.bb
> @@ -1,8 +1,10 @@
>  SUMMARY = "Utilities and libraries for handling compiled object files"
>  HOMEPAGE = "https://sourceware.org/elfutils";
>  SECTION = "base"
> -LICENSE = "GPLv2 & LGPLv3+ & GPLv3+"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
> +LICENSE = "GPLv2 & GPLv2+ & LGPLv3+ & GPLv3+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
> +                    
> file://debuginfod/debuginfod-client.c;md5=0cf97982735b2ea53f5d7fcd7d88dafe \

That won't fly. Any change to debuginfod/debuginfod-client.c will
trigger a build error because of license changes (which isn't
necessarily the case).

This makes it harder to upgrade the recipe (usually, just changing the
recipe version in the filename is enough, and changes to
LIC_FILES_CHKSUM smell fishy).

You want to use:
file://debuginfod/debuginfod-client.c;endline=27;md5=xxxxxx

c.f. 
https://docs.yoctoproject.org/dev-manual/common-tasks.html#specifying-the-lic-files-chksum-variable

Cheers,
Quentin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#147347): 
https://lists.openembedded.org/g/openembedded-core/message/147347
Mute This Topic: https://lists.openembedded.org/mt/80156724/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to