summaryrefslogtreecommitdiffstats
path: root/meta/classes/sign_package_feed.bbclass
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2017-08-15 14:34:53 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-16 00:03:15 +0100
commitbc10e6b429ed36daf65aacb171d2120b00d7283c (patch)
tree5655249a17708fa7c4a5b88b2894f6697e43cf7d /meta/classes/sign_package_feed.bbclass
parent5e9468b595821d3c74002fd73651d13ad398f7a3 (diff)
downloadpoky-bc10e6b429ed36daf65aacb171d2120b00d7283c.tar.gz
sign_package_feed.bbclass: install signing key into rootfs
If package-management is enabled. [YOCTO #11209] (From OE-Core rev: 4f89a5629f876a833c0178d1ec687448d3ed8e71) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sign_package_feed.bbclass')
-rw-r--r--meta/classes/sign_package_feed.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/sign_package_feed.bbclass b/meta/classes/sign_package_feed.bbclass
index 71df03bab3..f03c4802d0 100644
--- a/meta/classes/sign_package_feed.bbclass
+++ b/meta/classes/sign_package_feed.bbclass
@@ -28,6 +28,9 @@ PACKAGE_FEED_SIGN = '1'
28PACKAGE_FEED_GPG_BACKEND ?= 'local' 28PACKAGE_FEED_GPG_BACKEND ?= 'local'
29PACKAGE_FEED_GPG_SIGNATURE_TYPE ?= 'ASC' 29PACKAGE_FEED_GPG_SIGNATURE_TYPE ?= 'ASC'
30 30
31# Make feed signing key to be present in rootfs
32FEATURE_PACKAGES_package-management_append = " signing-keys-packagefeed"
33
31python () { 34python () {
32 # Check sanity of configuration 35 # Check sanity of configuration
33 for var in ('PACKAGE_FEED_GPG_NAME', 'PACKAGE_FEED_GPG_PASSPHRASE_FILE'): 36 for var in ('PACKAGE_FEED_GPG_NAME', 'PACKAGE_FEED_GPG_PASSPHRASE_FILE'):