summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-01-27 12:40:02 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-01-27 12:40:02 +0000
commitfdf134abfbc52a5522a4484687537ed8ac5a74c4 (patch)
tree3604e1a152d906c3011f1e514ac107479fe33b37
parentc6868ce84e7525e283875e6111aa97cafc7192e8 (diff)
downloadopenembedded-core-fdf134abfbc52a5522a4484687537ed8ac5a74c4.tar.gz
openembedded-core-fdf134abfbc52a5522a4484687537ed8ac5a74c4.tar.bz2
openembedded-core-fdf134abfbc52a5522a4484687537ed8ac5a74c4.zip
bitbake/build.py: No need for this gross hack now
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--bitbake/lib/bb/build.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index 6d80b4b549..1c713bf829 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -125,9 +125,7 @@ def exec_func(func, d, dirs = None):
if not t:
bb.msg.fatal(bb.msg.domain.Build, "T not set")
mkdirhier(t)
- # Gross hack, FIXME
- import random
- logfile = "%s/log.%s.%s.%s" % (t, func, str(os.getpid()),random.random())
+ logfile = "%s/log.%s.%s" % (t, func, str(os.getpid()))
runfile = "%s/run.%s.%s" % (t, func, str(os.getpid()))
# Change to correct directory (if specified)