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

Submitted by Paul Eggleton on March 16, 2018, 6:27 a.m. | Patch ID: 149317

Details

Message ID feb16eeb613d795b8cceaa52e5a1b82c7c52578a.1521181617.git.paul.eggleton@linux.intel.com
State New
Headers show

Commit Message

Paul Eggleton March 16, 2018, 6:27 a.m.
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@linux.intel.com>
---
 lib/bb/cooker.py | 11 -----------
 1 file changed, 11 deletions(-)

Patch hide | download patch | download mbox

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