Skip to contentSkip to conversation

cooker: remove old bitbake shell reference

PATCH New Paul Eggleton 1 participant 2 messages Mar 16, 2018

lore
Share & tools
lore
#0 lore raw

cover cooker: remove old bitbake shell reference

The following changes since commit 39d6a30a28f66c599e18beddbd847f40dcff623c:

utils.py: Add option for explode_dep_versions2 to return unsorted (2018-03-15 03:39:18 -0700)

are available in the Git repository at:

git://git.openembedded.org/bitbake-contrib paule/bb-shell-remove
http://cgit.openembedded.org/bitbake-contrib/log/?h=paule/bb-shell-remove

Paul Eggleton (1):
cooker: remove old bitbake shell reference

 lib/bb/cooker.py | 11 -----------
 1 file changed, 11 deletions(-)
Signature · 1 line
2.14.3
#1 lore raw

PATCH 1/1 cooker: remove old bitbake shell reference

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.

---
 lib/bb/cooker.py | 11 -----------
 1 file changed, 11 deletions(-)
lib/bb/cooker.py +0 -11
index 1fda40dd..062013a8 100644
@@ -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
Signature · 1 line
2.14.3