From 5854acd91e2cecbbfa9cc1b8d6c45c3e55820b6e Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Wed, 22 Dec 2004 22:57:45 +0000 Subject: Apply patch from Richard Purdie to fix the --force support in the bitbake script. --- bin/bitbake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/bitbake b/bin/bitbake index 31ffae38c..1acb33563 100755 --- a/bin/bitbake +++ b/bin/bitbake @@ -551,6 +551,8 @@ def executeOneBB( fn ): bb.event.fire(bb.event.PkgStarted(name, d)) try: __stats["attempt"] += 1 + if make.options.force: + bb.data.setVarFlag('do_%s' % make.options.cmd, 'force', 1, d) if not make.options.dry_run: bb.build.exec_task('do_%s' % make.options.cmd, d) bb.event.fire(bb.event.PkgSucceeded(name, d)) -- cgit 1.2.3-korg