[bitbake-devel] Richard Purdie : cooker.py: Convert a bb.data. expand refernce to the updated syntax
git at git.openembedded.org
git at git.openembedded.org
Thu Jan 5 13:11:52 UTC 2012
Module: bitbake.git
Branch: master
Commit: 4483dc4bc4711cd8e144078090727348beb24879
URL: http://git.openembedded.org/?p=bitbake.git&a=commit;h=4483dc4bc4711cd8e144078090727348beb24879
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Thu Jan 5 12:57:12 2012 +0000
cooker.py: Convert a bb.data.expand refernce to the updated syntax
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/cooker.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index cbe0d71..27abca0 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -137,7 +137,7 @@ class BBCooker:
# Take a lock so only one copy of bitbake can run against a given build
# directory at a time
- lockfile = bb.data.expand("${TOPDIR}/bitbake.lock", self.configuration.data)
+ lockfile = self.configuration.data.expand("${TOPDIR}/bitbake.lock")
self.lock = bb.utils.lockfile(lockfile, False, False)
if not self.lock:
bb.fatal("Only one copy of bitbake should be run against a build directory")
More information about the bitbake-devel
mailing list