summaryrefslogtreecommitdiffstats
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:34 +0000
commit5dc38a349ad0be9bc777cbbe989a8ca01721570e (patch)
treeb6287774de41ea985816543cc7c13cc7598ea0a1
parent27c39c469ef006ff66fc013dd8aa2458a6a01940 (diff)
downloadpoky-5dc38a349ad0be9bc777cbbe989a8ca01721570e.tar.gz
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. (From OE-Core rev: f854f4549f0b01421464032406a5275494acd818) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 () {
71} 71}
72 72
73do_package_index[depends] += "signing-keys:do_export_public_keys" 73do_package_index[depends] += "signing-keys:do_export_public_keys"
74do_rootfs[depends] += "signing-keys:do_export_public_keys"