From 787253fd4efcd18d46b3bcf794e3d54a93ef9f19 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Fri, 16 Oct 2015 13:37:32 +0300 Subject: package signing: automatically export public keys Automatically export public key(s) of the signing key(s) from the gpg keyring. Adds a new simple recipe that does the actual task of exporting the keys. This patch makes the RPM_GPG_PUBKEY and PACKAGE_FEED_GPG PUBKEY settings obsolete. (From OE-Core rev: 23b30c34581948e1ea02c25cbf7b9194d7e49fb8) Signed-off-by: Markus Lehtonen Signed-off-by: Richard Purdie --- meta/recipes-core/os-release/os-release.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-core/os-release/os-release.bb') diff --git a/meta/recipes-core/os-release/os-release.bb b/meta/recipes-core/os-release/os-release.bb index db827602f3..c690b82b2e 100644 --- a/meta/recipes-core/os-release/os-release.bb +++ b/meta/recipes-core/os-release/os-release.bb @@ -37,6 +37,7 @@ python do_compile () { shutil.copy2(rpm_gpg_pubkey, d.expand('${B}/rpm-gpg/RPM-GPG-KEY-%s' % distro_version)) } do_compile[vardeps] += "${OS_RELEASE_FIELDS}" +do_compile[depends] += "signing-keys:do_export_public_keys" do_install () { install -d ${D}${sysconfdir} -- cgit v1.2.3-54-g00ecf