[oe-commits] [bitbake] 01/06: runqueue: Ensure pseudo executes from the correct place (use the right datastore with multiconfig)
git at git.openembedded.org
git at git.openembedded.org
Wed Dec 21 16:29:22 UTC 2016
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit 3a2fd74374f47c327c9f01e63b5375bfcbe06bbb
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue Dec 20 20:51:02 2016 +0000
runqueue: Ensure pseudo executes from the correct place (use the right datastore with multiconfig)
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/runqueue.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index 1e1bdf4..25a2684 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -1004,8 +1004,9 @@ class RunQueue:
magic = "decafbadbad"
if fakeroot:
magic = magic + "beef"
- fakerootcmd = self.cfgData.getVar("FAKEROOTCMD")
- fakerootenv = (self.cfgData.getVar("FAKEROOTBASEENV") or "").split()
+ mcdata = self.cooker.databuilder.mcdata[mc]
+ fakerootcmd = mcdata.getVar("FAKEROOTCMD")
+ fakerootenv = (mcdata.getVar("FAKEROOTBASEENV") or "").split()
env = os.environ.copy()
for key, value in (var.split('=') for var in fakerootenv):
env[key] = value
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list