]> code.ossystems Code Review - openembedded-core.git/commitdiff
linux-yocto: add kern-tools-native to kernel_metadata depends
authorRoss Burton <ross.burton@intel.com>
Fri, 27 Mar 2015 15:21:00 +0000 (15:21 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 29 Mar 2015 22:07:15 +0000 (23:07 +0100)
The autobuilder failed like this:

  temp/run.do_kernel_metadata.25242: line 165: createme: command not found

createme is provided by kern-tools-native.  do_patch has a dependency on
kern-tools-native, but do_kernel_metadata runs before do_patch.  So move the
dependency from do_patch to do_kernel_metadata, moving the statement from the
.inc to the class so it's alongside the task definition.

[ YOCTO #7531 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass
meta/recipes-kernel/linux/linux-yocto.inc

index 14551a23f28c3028a8ab08a5f66bcd138ffa6aea..a1fbb51e6802d360582ee59634ab56104b009fbd 100644 (file)
@@ -261,6 +261,7 @@ do_kernel_checkout[dirs] = "${S}"
 
 addtask kernel_checkout before do_patch after do_unpack
 addtask kernel_metadata after do_validate_branches before do_patch
+do_kernel_metadata[depends] = "kern-tools-native:do_populate_sysroot"
 
 do_kernel_configme[dirs] += "${S} ${B}"
 do_kernel_configme() {
index c62f8ca97de492e0bd754dea89c1508773be336b..5b69a49ab80c923d0afef79a07d1a835c432e26b 100644 (file)
@@ -32,8 +32,6 @@ KCONF_BSP_AUDIT_LEVEL ?= "0"
 
 LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}"
 
-do_patch[depends] = "kern-tools-native:do_populate_sysroot"
-
 addtask kernel_configme before do_configure after do_patch
 
 # Pick up shared functions