mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-04 16:10:04 +00:00
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: 74725c9f7e7ed4172781891001e85b64bfb206b8)
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>
(cherry picked from commit c063b658e30a24be9214abc23cd2a16c0260e93e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
15d0cc7db5
commit
c1c6132078
|
|
@ -27,6 +27,7 @@ inherit sanity
|
|||
PACKAGE_FEED_SIGN = '1'
|
||||
PACKAGE_FEED_GPG_BACKEND ?= 'local'
|
||||
PACKAGE_FEED_GPG_SIGNATURE_TYPE ?= 'ASC'
|
||||
PACKAGEINDEXDEPS += "gnupg-native:do_populate_sysroot"
|
||||
|
||||
# Make feed signing key to be present in rootfs
|
||||
FEATURE_PACKAGES_package-management:append = " signing-keys-packagefeed"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user