[oe-commits] Richard Purdie : kernel-devsrc: Ensure we have a dependency on the actual source

git at git.openembedded.org git at git.openembedded.org
Sun Dec 21 13:52:30 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: c3598cf720e04ab27ab5d2817c09f2496b677560
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c3598cf720e04ab27ab5d2817c09f2496b677560

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Sun Dec 21 13:50:35 2014 +0000

kernel-devsrc: Ensure we have a dependency on the actual source

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 at linuxfoundation.org>

---

 meta/recipes-kernel/linux/kernel-devsrc.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index 9fb761b..dbb3a5c 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -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"



More information about the Openembedded-commits mailing list