]> code.ossystems Code Review - openembedded-core.git/commitdiff
signing-keys: delete unused tasks
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 15 Aug 2017 11:34:52 +0000 (14:34 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Aug 2017 23:02:01 +0000 (00:02 +0100)
In particular, do_unpack needs to be deleted as it was causing missing
subpackages. Do_unpack cleans the builddir and if it was run after
do_get_public_keys it cleaned up all keys causing no packages to be
built.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/meta/signing-keys.bb

index aaa01d0c345037c099c62ed63c8f4cc8dd5aef9f..ebfb08c433b66405133cd12528cdac8c74486372 100644 (file)
@@ -71,3 +71,11 @@ do_deploy[cleandirs] = "${DEPLOYDIR}"
 # clear stamp-extra-info since MACHINE is normally put there by deploy.bbclass
 do_deploy[stamp-extra-info] = ""
 addtask deploy after do_get_public_keys
+
+# Delete unnecessary tasks. In particular, "do_unpack" _must_ be deleted because
+# it cleans ${B} and will wipe any keys exported by do_get_public_keys.
+deltask do_fetch
+deltask do_unpack
+deltask do_patch
+deltask do_configure
+deltask do_compile