summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-09-17 08:14:16 +0000
committerRichard Purdie <richard@openedhand.com>2007-09-17 08:14:16 +0000
commit51d9c76e954bef233c66fba328ffc13a496857fc (patch)
treead2e79c2d85c188f2ffd34dfb3aea4d62b095a0e /meta
parent2129b596fa06b89ba6892b9f8b9d4412044acfc9 (diff)
downloadopenembedded-core-51d9c76e954bef233c66fba328ffc13a496857fc.tar.gz
openembedded-core-51d9c76e954bef233c66fba328ffc13a496857fc.tar.bz2
openembedded-core-51d9c76e954bef233c66fba328ffc13a496857fc.zip
devshell.bbclass: Sync with OE since this no longer works at properly without this change
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2738 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/devshell.bbclass9
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/classes/devshell.bbclass b/meta/classes/devshell.bbclass
index 14f957e12b..35456b517b 100644
--- a/meta/classes/devshell.bbclass
+++ b/meta/classes/devshell.bbclass
@@ -2,9 +2,14 @@ EXTRA_OEMAKE[export] = "1"
do_devshell[dirs] = "${S}"
do_devshell[nostamp] = "1"
-do_devshell[interactive] = "1"
+
devshell_do_devshell() {
- bash -i
+ export TERMWINDOWTITLE="Bitbake Developer Shell"
+ ${TERMCMD}
+ if [ $? -ne 0 ]; then
+ echo "Fatal: '${TERMCMD}' not found. Check TERMCMD variable."
+ exit 1
+ fi
}
addtask devshell after do_patch