summaryrefslogtreecommitdiff
path: root/meta/classes/sign_rpm.bbclass
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-01-11 18:13:17 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-19 17:37:24 +0000
commitf854f4549f0b01421464032406a5275494acd818 (patch)
tree9e836f7cf309d5ff856399fc5003b9be8034baa3 /meta/classes/sign_rpm.bbclass
parent0afe5f74337dbfd302c221bf3c0fa9a22e6e7987 (diff)
downloadopenembedded-core-f854f4549f0b01421464032406a5275494acd818.tar.gz
openembedded-core-f854f4549f0b01421464032406a5275494acd818.tar.bz2
openembedded-core-f854f4549f0b01421464032406a5275494acd818.zip
sign_rpm.bbclass: fix task dependencies
do_rootfs task needs to depend on signing-keys:do_export_public_keys. The rpm signing public key needs to be present in order to prevent a crash because it is imported into the rootfs rpmdb before rootfs creation starts. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/sign_rpm.bbclass')
-rw-r--r--meta/classes/sign_rpm.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/sign_rpm.bbclass b/meta/classes/sign_rpm.bbclass
index bc916a7097..7906b6413b 100644
--- a/meta/classes/sign_rpm.bbclass
+++ b/meta/classes/sign_rpm.bbclass
@@ -71,3 +71,4 @@ python sign_rpm () {
}
do_package_index[depends] += "signing-keys:do_export_public_keys"
+do_rootfs[depends] += "signing-keys:do_export_public_keys"