summaryrefslogtreecommitdiff
path: root/classes/devshell.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/devshell.bbclass')
-rw-r--r--classes/devshell.bbclass9
1 files changed, 7 insertions, 2 deletions
diff --git a/classes/devshell.bbclass b/classes/devshell.bbclass
index 14f957e12b..35456b517b 100644
--- a/classes/devshell.bbclass
+++ b/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