diff options
| -rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builder.py | 3 | ||||
| -rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index 2984490a76..7b6c116ee4 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/lib/bb/ui/crumbs/builder.py | |||
| @@ -138,6 +138,7 @@ class Parameters: | |||
| 138 | self.runnable_image_types = params["runnable_image_types"].split() | 138 | self.runnable_image_types = params["runnable_image_types"].split() |
| 139 | self.runnable_machine_patterns = params["runnable_machine_patterns"].split() | 139 | self.runnable_machine_patterns = params["runnable_machine_patterns"].split() |
| 140 | self.deployable_image_types = params["deployable_image_types"].split() | 140 | self.deployable_image_types = params["deployable_image_types"].split() |
| 141 | self.tmpdir = params["tmpdir"] | ||
| 141 | 142 | ||
| 142 | class Builder(gtk.Window): | 143 | class Builder(gtk.Window): |
| 143 | 144 | ||
| @@ -813,7 +814,7 @@ class Builder(gtk.Window): | |||
| 813 | 814 | ||
| 814 | if response == gtk.RESPONSE_YES: | 815 | if response == gtk.RESPONSE_YES: |
| 815 | source_env_path = os.path.join(self.parameters.core_base, "oe-init-build-env") | 816 | source_env_path = os.path.join(self.parameters.core_base, "oe-init-build-env") |
| 816 | tmp_path = os.path.join(os.getcwd(), "tmp") | 817 | tmp_path = self.parameters.tmpdir |
| 817 | if os.path.exists(image_path) and os.path.exists(kernel_path) \ | 818 | if os.path.exists(image_path) and os.path.exists(kernel_path) \ |
| 818 | and os.path.exists(source_env_path) and os.path.exists(tmp_path): | 819 | and os.path.exists(source_env_path) and os.path.exists(tmp_path): |
| 819 | cmdline = "/usr/bin/xterm -e " | 820 | cmdline = "/usr/bin/xterm -e " |
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index e34281113c..8042fbdf59 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |||
| @@ -439,4 +439,5 @@ class HobHandler(gobject.GObject): | |||
| 439 | params["runnable_image_types"] = self.server.runCommand(["getVariable", "RUNNABLE_IMAGE_TYPES"]) or "" | 439 | params["runnable_image_types"] = self.server.runCommand(["getVariable", "RUNNABLE_IMAGE_TYPES"]) or "" |
| 440 | params["runnable_machine_patterns"] = self.server.runCommand(["getVariable", "RUNNABLE_MACHINE_PATTERNS"]) or "" | 440 | params["runnable_machine_patterns"] = self.server.runCommand(["getVariable", "RUNNABLE_MACHINE_PATTERNS"]) or "" |
| 441 | params["deployable_image_types"] = self.server.runCommand(["getVariable", "DEPLOYABLE_IMAGE_TYPES"]) or "" | 441 | params["deployable_image_types"] = self.server.runCommand(["getVariable", "DEPLOYABLE_IMAGE_TYPES"]) or "" |
| 442 | params["tmpdir"] = self.server.runCommand(["getVariable", "TMPDIR"]) or "" | ||
| 442 | return params | 443 | return params |
