]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
signing-keys: add sstate task for do_export_public_keys ChenQi/signing-keys
authorChen Qi <Qi.Chen@windriver.com>
Tue, 2 Feb 2016 06:56:45 +0000 (14:56 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Tue, 2 Feb 2016 07:04:46 +0000 (15:04 +0800)
Add sstate task for do_export_public_keys so that the installation of
extensible SDK does not fail.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
meta/recipes-core/meta/signing-keys.bb

index d7aa79d49f3b579847e75a3641597ab3a1d66dd5..60f05cffdcec2b1ead4218e7ae6f6a40bce151be 100644 (file)
@@ -41,3 +41,11 @@ python do_export_public_keys () {
         signer.export_pubkey(d.getVar('PACKAGE_FEED_GPG_PUBKEY', True))
 }
 addtask do_export_public_keys before do_build
+
+SSTATETASKS += "do_export_public_keys"
+do_export_public_keys[sstate-inputdirs] = ""
+do_export_public_keys[sstate-outputdirs] = ""
+python do_export_public_keys_setscene () {
+    sstate_setscene(d)
+}
+addtask do_export_public_keys_setscene