diff options
author | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2005-07-07 10:23:59 +0000 |
---|---|---|
committer | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2005-07-07 10:23:59 +0000 |
commit | 88f19217cb650c6b89cd098adf5b5b0889915efb (patch) | |
tree | f1a0fd97d3faf1b18e4fafe540af24081fb7628f /lib/bb/shell.py | |
parent | c2cb41dc49aee4d6905519ec74c34e957a633b8d (diff) | |
download | bitbake-88f19217cb650c6b89cd098adf5b5b0889915efb.tar.gz |
Shell:
- remove '...' in output for "SHELL: Building <a number of providees>"
- don't continue if building a number of providees and one fails
Diffstat (limited to 'lib/bb/shell.py')
-rw-r--r-- | lib/bb/shell.py | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/bb/shell.py b/lib/bb/shell.py index f9b06e341..97e61e116 100644 --- a/lib/bb/shell.py +++ b/lib/bb/shell.py @@ -142,20 +142,24 @@ class BitBakeShellCommands: self._checkParsed() names = globfilter( cooker.status.pkg_pn.keys(), globexpr ) if len( names ) == 0: names = [ globexpr ] - print "SHELL: Building %s..." % ' '.join( names ) + print "SHELL: Building %s" % ' '.join( names ) + + oldcmd = cooker.configuration.cmd + cooker.configuration.cmd = cmd + cooker.build_cache = [] + cooker.build_cache_fail = [] for name in names: - oldcmd = cooker.configuration.cmd - cooker.configuration.cmd = cmd - cooker.build_cache = [] - cooker.build_cache_fail = [] try: cooker.buildProvider( name ) except build.EventException, e: print "ERROR: Couldn't build '%s'" % name global last_exception last_exception = e - cooker.configuration.cmd = oldcmd + break + + cooker.configuration.cmd = oldcmd + build.usage = "<providee>" def clean( self, params ): |