diff options
author | Cristiana Voicu <cristiana.voicu@intel.com> | 2012-09-26 13:44:08 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-27 16:45:25 +0100 |
commit | 4c229615eaedb6b7af6efa7d4d70848a8027594a (patch) | |
tree | 23f02504c789def80de05197f481e37246a43395 /bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |
parent | d658f48efad5dd9e7d74c8f607f5b5d893b589dd (diff) | |
download | poky-4c229615eaedb6b7af6efa7d4d70848a8027594a.tar.gz |
bitbake: hob/settings: implement a new tab in settings dialog to show SSTATE_MIRRORS
Add a new tab to show correctly SSTATE_MIRRORS variable. Now you can add new
mirrors or delete mirror. "info" image was also changed( it is smaller, so it
can be next to labels).
>From "Build environment" tab, SSTATE_DIR and SSTATE_MIRRORS vars were removed.
[YOCTO #2893]
(Bitbake rev: 1a81e27365d969e4ad4b4f0aec290aa967a8a35f)
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobeventhandler.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index 49db2deb27..ed55acc4fd 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |||
@@ -297,8 +297,8 @@ class HobHandler(gobject.GObject): | |||
297 | def set_sstate_dir(self, directory): | 297 | def set_sstate_dir(self, directory): |
298 | self.runCommand(["setVariable", "SSTATE_DIR_HOB", directory]) | 298 | self.runCommand(["setVariable", "SSTATE_DIR_HOB", directory]) |
299 | 299 | ||
300 | def set_sstate_mirror(self, url): | 300 | def set_sstate_mirrors(self, url): |
301 | self.runCommand(["setVariable", "SSTATE_MIRROR_HOB", url]) | 301 | self.runCommand(["setVariable", "SSTATE_MIRRORS_HOB", url]) |
302 | 302 | ||
303 | def set_extra_size(self, image_extra_size): | 303 | def set_extra_size(self, image_extra_size): |
304 | self.runCommand(["setVariable", "IMAGE_ROOTFS_EXTRA_SPACE", str(image_extra_size)]) | 304 | self.runCommand(["setVariable", "IMAGE_ROOTFS_EXTRA_SPACE", str(image_extra_size)]) |
@@ -421,7 +421,7 @@ class HobHandler(gobject.GObject): | |||
421 | params["distro"] = self.runCommand(["getVariable", "DISTRO"]) or "defaultsetup" | 421 | params["distro"] = self.runCommand(["getVariable", "DISTRO"]) or "defaultsetup" |
422 | params["pclass"] = self.runCommand(["getVariable", "PACKAGE_CLASSES"]) or "" | 422 | params["pclass"] = self.runCommand(["getVariable", "PACKAGE_CLASSES"]) or "" |
423 | params["sstatedir"] = self.runCommand(["getVariable", "SSTATE_DIR"]) or "" | 423 | params["sstatedir"] = self.runCommand(["getVariable", "SSTATE_DIR"]) or "" |
424 | params["sstatemirror"] = self.runCommand(["getVariable", "SSTATE_MIRROR"]) or "" | 424 | params["sstatemirror"] = self.runCommand(["getVariable", "SSTATE_MIRRORS"]) or "" |
425 | 425 | ||
426 | num_threads = self.runCommand(["getCpuCount"]) | 426 | num_threads = self.runCommand(["getCpuCount"]) |
427 | if not num_threads: | 427 | if not num_threads: |