diff options
author | Cristiana Voicu <cristiana.voicu@intel.com> | 2013-07-25 07:25:38 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-06 13:02:23 +0100 |
commit | ee4fe5a229125d01cf8b697c759d0852f9a715a8 (patch) | |
tree | 0c00f7f0fcf78db9e3ccb0b44a8cd51ce5685011 /bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |
parent | 843ef1083243e1569d6cc429ae26e22dda699149 (diff) | |
download | poky-ee4fe5a229125d01cf8b697c759d0852f9a715a8.tar.gz |
bitbake: hob: create save image dialog used to save a template
Implemented a new dialog used by Hob. This dialog was desinged
in order to permit to save only in a particular directory.
Also, it has a field where the user can type a description
for the image.
Implemented in the handler a method to retrieve the topdir variable,
because the changes will be saved in {topdir}/recipes/images directory.
[YOCTO #4193]
(Bitbake rev: 117d4809a62e28ffe7e9dcda5433993d76f7d934)
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index 4c6e6fd06e..294eb5dd1f 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |||
@@ -452,6 +452,9 @@ class HobHandler(gobject.GObject): | |||
452 | def get_logfile(self): | 452 | def get_logfile(self): |
453 | return self.server.runCommand(["getVariable", "BB_CONSOLELOG"])[0] | 453 | return self.server.runCommand(["getVariable", "BB_CONSOLELOG"])[0] |
454 | 454 | ||
455 | def get_topdir(self): | ||
456 | return self.runCommand(["getVariable", "TOPDIR"]) or "" | ||
457 | |||
455 | def _remove_redundant(self, string): | 458 | def _remove_redundant(self, string): |
456 | ret = [] | 459 | ret = [] |
457 | for i in string.split(): | 460 | for i in string.split(): |