]> code.ossystems Code Review - openembedded-core.git/commitdiff
devshell.bbclass: Sync with OE since this no longer works at properly without this...
authorRichard Purdie <richard@openedhand.com>
Mon, 17 Sep 2007 08:14:16 +0000 (08:14 +0000)
committerRichard Purdie <richard@openedhand.com>
Mon, 17 Sep 2007 08:14:16 +0000 (08:14 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2738 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/devshell.bbclass

index 14f957e12b16fcfe436735b02d98bdf0d1578bf7..35456b517bbc826fbca46fd9ffcd42a8150bea36 100644 (file)
@@ -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