diff options
Diffstat (limited to 'bitbake-dev/bin/bitbake')
-rwxr-xr-x | bitbake-dev/bin/bitbake | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/bitbake-dev/bin/bitbake b/bitbake-dev/bin/bitbake index d85135a117..920877e4d8 100755 --- a/bitbake-dev/bin/bitbake +++ b/bitbake-dev/bin/bitbake @@ -69,6 +69,9 @@ Default BBFILES are the .bb files in the current directory.""" ) parser.add_option( "-k", "--continue", help = "continue as much as possible after an error. While the target that failed, and those that depend on it, cannot be remade, the other dependencies of these targets can be processed all the same.", action = "store_false", dest = "abort", default = True ) + parser.add_option( "-a", "--tryaltconfigs", help = "continue with builds by trying to use alternative providers where possible.", + action = "store_true", dest = "tryaltconfigs", default = False ) + parser.add_option( "-f", "--force", help = "force run of specified cmd, regardless of stamp status", action = "store_true", dest = "force", default = False ) @@ -130,17 +133,13 @@ Default BBFILES are the .bb files in the current directory.""" ) # of the UIs (e.g. for DISPLAY, etc.) bb.utils.clean_environment() - cooker.parseConfiguration() + cooker.parseCommandLine() host = cooker.server.host port = cooker.server.port - # Save a logfile for cooker somewhere - t = bb.data.getVar('TMPDIR', cooker.configuration.data, True) - if not t: - bb.msg.fatal(bb.msg.domain.Build, "TMPDIR not set") - t = os.path.join(t, "cooker") - bb.mkdirhier(t) - cooker_logfile = "%s/log.cooker.%s" % (t, str(os.getpid())) + # Save a logfile for cooker into the current working directory. When the + # server is daemonized this logfile will be truncated. + cooker_logfile = os.path.join (os.getcwd(), "cooker.log") daemonize.createDaemon(cooker.serve, cooker_logfile) del cooker |