From: Leonardo Sandoval <[email protected]>
The class nopackages deletes tasks needed by the archiver, so in case
the latter is globally inherited, do not inherit nopackages. Without
this patch, the following error occurs:
ERROR: Task do_deploy_archives in
.../meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb depends upon
non-existent task do_package_write_rpm in \
.../meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb
ERROR: Command execution failed: 1
The solution was suggested by J. Richardson, mentioned on the bugzilla
entry.
[YOCTO #11121]
Signed-off-by: Leonardo Sandoval <[email protected]>
---
meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb
b/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb
index 44d013f29d..a0ae9bbb61 100644
--- a/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb
+++ b/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb
@@ -45,4 +45,5 @@ EOF
SYSROOT_DIRS += "${bindir_crossscripts}"
-inherit nopackages
+# The archiver requires tasks that nopackages deletes.
+inherit ${@'nopackages' if not bb.data.inherits_class('archiver', d) else ''}
--
2.12.0
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core