[OE-core] [yocto] Extract GPL sources

Fabien Lahoudere fabien.lahoudere at collabora.co.uk
Tue Aug 7 10:15:28 UTC 2018


Thanks Ross,

I have an issue when using the archiver:

local.conf:

INHERIT += "archiver"
ARCHIVER_MODE[src] = "patched"
COPYLEFT_LICENSE_INCLUDE = 'GPL* LGPL*'

ERROR: gmp-native-6.1.2-r0 do_unpack_and_patch: Command Error: 'quilt --quiltrc
/home/aragua/src/poky/build2/tmp/work/x86_64-linux/gmp-native/6.1.2-r0/archiver-work//recipe-
sysroot-native/etc/quiltrc push' exited with 0  Output:
/bin/sh: quilt: command not found
ERROR: gmp-native-6.1.2-r0 do_unpack_and_patch: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /home/aragua/src/poky/build2/tmp/work/x86_64-linux/gmp-
native/6.1.2-r0/temp/log.do_unpack_and_patch.8027
ERROR: Task (virtual:native:/home/aragua/src/poky/meta/recipes-
support/gmp/gmp_6.1.2.bb:do_unpack_and_patch) failed with exit code '1'

I tried to drop native from COPYLEFT_RECIPE_TYPES without effect.

Where can I add quilt-native dependency?

For information I use pyro release. Is there any known bug for that release?

Thanks

On Tue, 2018-08-07 at 10:10 +0100, Burton, Ross wrote:
> Have a look at the archiver class.
> 
> Ross
> 
> On 7 August 2018 at 09:29, Fabien Lahoudere
> <fabien.lahoudere at collabora.co.uk> wrote:
> > Hello
> > 
> > I need to extract all *GPL* sources patched related to an image in order to publish them.
> > I want to do it automatically, ie 'bitbake myimage -c extract-gpl-sources'
> > Is there a mechanism to do that?
> > If not do you have any idea how I can implement it?
> > 
> > Thanks
> > 
> > --
> > Fabien
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
-- 
Fabien



More information about the Openembedded-core mailing list