From patchwork Tue May 8 19:23:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/1] kernel-yocto: export GUILT_BASE Date: Tue, 08 May 2012 19:23:14 -0000 From: Bruce Ashfield X-Patchwork-Id: 27307 Message-Id: <8afd5747802c4eb0e8296e440bd7366393595f8e.1336504721.git.bruce.ashfield@windriver.com> To: richard.purdie@linuxfoundation.org Cc: openembedded-core@lists.openembedded.org, saul.wold@intel.com 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 --- meta/classes/kernel-yocto.bbclass | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index c6425b2..fb9dce1 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass @@ -290,4 +290,10 @@ do_kernel_link_vmlinux() { ln -sf ../../../vmlinux } +OE_TERMINAL_EXPORTS += "GUILT_BASE" +python do_devshell () { + d.setVar("GUILT_BASE", "meta") + oe_terminal( d.getVar('SHELL', True), 'OpenEmbedded Developer Shell', d) +} +