diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2017-08-15 14:34:53 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-16 00:03:15 +0100 |
commit | bc10e6b429ed36daf65aacb171d2120b00d7283c (patch) | |
tree | 5655249a17708fa7c4a5b88b2894f6697e43cf7d /meta/classes | |
parent | 5e9468b595821d3c74002fd73651d13ad398f7a3 (diff) | |
download | poky-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')
-rw-r--r-- | meta/classes/sign_package_feed.bbclass | 3 |
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' | |||
28 | PACKAGE_FEED_GPG_BACKEND ?= 'local' | 28 | PACKAGE_FEED_GPG_BACKEND ?= 'local' |
29 | PACKAGE_FEED_GPG_SIGNATURE_TYPE ?= 'ASC' | 29 | PACKAGE_FEED_GPG_SIGNATURE_TYPE ?= 'ASC' |
30 | 30 | ||
31 | # Make feed signing key to be present in rootfs | ||
32 | FEATURE_PACKAGES_package-management_append = " signing-keys-packagefeed" | ||
33 | |||
31 | python () { | 34 | python () { |
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'): |