[OE-core] [PATCH v4 0/3] zypper: support signed repositories

Saul Wold sgw at linux.intel.com
Mon Jan 30 22:13:01 UTC 2012


On 01/30/2012 01:50 PM, Saul Wold wrote:
> On 01/30/2012 01:12 PM, Steve Sakoman wrote:
>> The current zypper implementation does not work with signed repositories.
>> This patch series adds recipes for the required packages as well as the
>> necessary runtime dependencies to zypper.
>>
>> Tested on Gumstix Overo (OMAP3) with meta-openembedded layer enabled and
>> a systemd based console image.
>>
>> Version 4 incorporates feedback from Koen Kooi, Saul Wold, Khem Raj, and
>> Anders Darander
>> - adds runtime dependencies to existing RDEPENDS_${PN} of zypper
>> - removes duplicate recipe for libassuan
>> - moves recipes for gnupg and libksba to recipes-support
>> - adds dependency on libgpg-error for libksba
>> - cleans up LICENSE field
>>
>> Steve Sakoman (3):
>> libksba: add recipe for 1.2.0
>> gnupg: add recipe for 2.0.18
>
> Steve, I am still reviewing this, and I need to to a build with
> non-GPLv3, since you might have added a dependency with zypper on a
> GPLv3 item, this will take me some checking.
>
As I suspected, if we set INCOMPATIBLE_LICENSE = "GPLv3" and try a 
build, I get the following error:

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'gnupg' (but 
/intel/poky/distro/meta/recipes-extended/zypper/zypper_git.bb RDEPENDS 
on or otherwise requires it)
ERROR: gnupg was skipped: incompatible with license GPLv3 & LGPLv3
NOTE: Runtime target 'gnupg' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['gnupg']
NOTE: Runtime target 'zypper' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['zypper', 'gnupg']
NOTE: Runtime target 'task-core-basic' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['task-core-basic', 
'zypper', 'gnupg']
ERROR: Required build target 'core-image-basic' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-basic', 
'task-core-basic', 'zypper', 'gnupg']

This would imply that we need to have a GPLv2 Version of the gnupg
recipe also, Steve if you had to look at or handle the newer GPLv3 gnupg 
code itself, you may not be able to write the GPLv2 recipe or create 
patches for it, can you arrange for someone to create that patch?

Thanks
	Sau!

> You might want to prepare a patch and test with a GPLv2 version of gnupg
> as well. This will not hold up this patch if we know the GPLv2 version
> is forth coming.
>
> Thanks
>
> Sau!
>
>> zypper: add missing runtime dependences on gzip and gnupg
>>
>> meta/recipes-extended/zypper/zypper_git.bb | 4 ++--
>> meta/recipes-support/gnupg/gnupg_2.0.18.bb | 25 +++++++++++++++++++++++++
>> meta/recipes-support/libksba/libksba_1.2.0.bb | 12 ++++++++++++
>> 3 files changed, 39 insertions(+), 2 deletions(-)
>> create mode 100644 meta/recipes-support/gnupg/gnupg_2.0.18.bb
>> create mode 100644 meta/recipes-support/libksba/libksba_1.2.0.bb
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>




More information about the Openembedded-core mailing list