[oe-commits] Bruce Ashfield : kernel-yocto: export GUILT_BASE to devshell

git at git.openembedded.org git at git.openembedded.org
Fri May 11 22:31:13 UTC 2012


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

Author: Bruce Ashfield <bruce.ashfield at windriver.com>
Date:   Tue May  8 15:10:17 2012 -0400

kernel-yocto: export GUILT_BASE to devshell

One of the patch backends to linux-yocto is guilt, which normally
tracks patches under .git. But .git isn't something that can be
checked into a SCM and repeated. So it has been moved under meta/patches
and committed to the meta branch.

If devshell is used, GUILT_BASE isn't set, so patch manipulations will
fail. We export GUILT_BASE and point it at the meta directory when
devshell is invoked for linux-yocto.

Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>

---

 meta/classes/kernel-yocto.bbclass |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index c6425b2..e931630 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -290,4 +290,5 @@ do_kernel_link_vmlinux() {
 	ln -sf ../../../vmlinux
 }
 
-
+OE_TERMINAL_EXPORTS += "GUILT_BASE"
+GUILT_BASE = "meta"





More information about the Openembedded-commits mailing list