]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel-devsrc: Ensure we have a dependency on the actual source
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 21 Dec 2014 13:50:35 +0000 (13:50 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 21 Dec 2014 13:51:29 +0000 (13:51 +0000)
Tthe kernel populate_sysroot can come from sstate, we need the full
source here. We therefore depend on the configure task which isn't
covered by sstate to ensure we get the right set of files.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux/kernel-devsrc.bb

index 9fb761b46b75b05d72999457579505eee3f46d9c..dbb3a5c58183ff5786d96a6b4f93a79c1203b03c 100644 (file)
@@ -16,6 +16,8 @@ inherit module-base
 # We need the kernel to be staged (unpacked, patched and configured) before
 # we can grab the source and make the kernel-devsrc package
 do_install[depends] += "virtual/kernel:do_populate_sysroot"
+# Need the source, not just the output of populate_sysroot
+do_install[depends] += "virtual/kernel:do_configure"
 
 # There's nothing to do here, except install the source where we can package it
 do_fetch[noexec] = "1"