summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorFerry Toth <ftoth@exalondelft.nl>2022-04-13 22:37:42 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-19 14:14:11 +0100
commitaf0655441f8342a80459205f806b9a44bca79a21 (patch)
treeec6521847912862dbd36defdcc6e085524fcb667 /meta
parent4a3f3f2c3491fe4ef65557be7d298b8a5adb47a4 (diff)
downloadpoky-af0655441f8342a80459205f806b9a44bca79a21.tar.gz
package_manager: fix missing dependency on gnupg when signing deb package feeds
When signing the deb package feed gpg tools are a soft requirement. If gnupg-native is not declared a dependancy the version from hosttools is used. Unfortunately the gpg-agent version from Ubuntu 16.04 on the autobuilders is incompatible with the package_index task and fails during oe-selftest. Fix by making gnupg-native a dependency. Fixes: 0b4231b5 "package_manager: sign DEB package feeds" Reported-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org> (From OE-Core rev: c063b658e30a24be9214abc23cd2a16c0260e93e) Signed-off-by: Ferry Toth <ftoth@exalondelft.nl> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/sign_package_feed.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/sign_package_feed.bbclass b/meta/classes/sign_package_feed.bbclass
index 16bcd147aa..f1504c2225 100644
--- a/meta/classes/sign_package_feed.bbclass
+++ b/meta/classes/sign_package_feed.bbclass
@@ -27,6 +27,7 @@ inherit sanity
27PACKAGE_FEED_SIGN = '1' 27PACKAGE_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'
30PACKAGEINDEXDEPS += "gnupg-native:do_populate_sysroot"
30 31
31# Make feed signing key to be present in rootfs 32# Make feed signing key to be present in rootfs
32FEATURE_PACKAGES_package-management:append = " signing-keys-packagefeed" 33FEATURE_PACKAGES_package-management:append = " signing-keys-packagefeed"