[bitbake-devel] [PATCH 1/1] cooker: remove old bitbake shell reference

Paul Eggleton paul.eggleton at linux.intel.com
Fri Mar 16 06:27:17 UTC 2018


The bitbake shell functionality was disabled and removed in 2010
(bitbake revision 24857e2ceb405916b0b0b3e75c6c2375a909b9ba) as it was
broken at that time, and things have moved on even further since then.
The bitbake server can remain memory resident now so some of the reason
for its existence has been removed. If we were to want to re-implement
it then I would imagine we would do so using the devpyshell rather than
building upon this, so remove the last reference to it here.

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
---
 lib/bb/cooker.py | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index 1fda40dd..062013a8 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -1051,17 +1051,6 @@ class BBCooker:
         tree = self.generatePkgDepTreeData(pkgs, 'build')
         bb.event.fire(bb.event.TargetsTreeGenerated(tree), self.data)
 
-    def interactiveMode( self ):
-        """Drop off into a shell"""
-        try:
-            from bb import shell
-        except ImportError:
-            parselog.exception("Interactive mode not available")
-            sys.exit(1)
-        else:
-            shell.start( self )
-
-
     def handleCollections(self, collections):
         """Handle collections"""
         errors = False
-- 
2.14.3




More information about the bitbake-devel mailing list