diff options
-rwxr-xr-x | bitbake/bin/bitbake | 1 | ||||
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index 4e6815e46e..b046156b49 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake | |||
@@ -157,6 +157,7 @@ Default BBFILES are the .bb files in the current directory.""") | |||
157 | 157 | ||
158 | configuration = BBConfiguration(options) | 158 | configuration = BBConfiguration(options) |
159 | configuration.pkgs_to_build.extend(args[1:]) | 159 | configuration.pkgs_to_build.extend(args[1:]) |
160 | configuration.initial_path = os.environ['PATH'] | ||
160 | 161 | ||
161 | #server = bb.server.xmlrpc | 162 | #server = bb.server.xmlrpc |
162 | server = bb.server.none | 163 | server = bb.server.none |
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 3d84bb17ee..4d1dc49d78 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1042,6 +1042,7 @@ class RunQueueExecute: | |||
1042 | env[comps[0]] = comps[1] | 1042 | env[comps[0]] = comps[1] |
1043 | 1043 | ||
1044 | env['BB_TASKHASH'] = self.rqdata.runq_hash[task] | 1044 | env['BB_TASKHASH'] = self.rqdata.runq_hash[task] |
1045 | env['PATH'] = self.cooker.configuration.initial_path | ||
1045 | 1046 | ||
1046 | sys.stdout.flush() | 1047 | sys.stdout.flush() |
1047 | sys.stderr.flush() | 1048 | sys.stderr.flush() |