* [PATCH 0/2] Image creator bug fixes
@ 2011-03-14 14:45 Joshua Lock
2011-03-14 14:45 ` [PATCH 1/2] bitbake/cooker: don't error in prepareTreeData for unbuildable targets Joshua Lock
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Joshua Lock @ 2011-03-14 14:45 UTC (permalink / raw)
To: poky
From: Joshua Lock <josh@linux.intel.com>
This series contains a couple of GUI bug fixes intended for Bernard and master.
The first stops unbuildable targets from breaking the image creator, though I'd
like to investigate the possibility of stopping such recipes even being shown
in the GUI I thought it useful to provide a workaround for the Bernard release.
The second fixes a logic inversions and ensures that the cancel button does the
right thing.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: josh/hob-bernard
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=josh/hob-bernard
Thanks,
Joshua Lock <josh@linux.intel.com>
---
Joshua Lock (2):
bitbake/cooker: don't error in prepareTreeData for unbuildable
targets
bitbake/hob: fix cancel button
bitbake/lib/bb/cooker.py | 4 +++-
bitbake/lib/bb/ui/hob.py | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
--
1.7.4
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] bitbake/cooker: don't error in prepareTreeData for unbuildable targets
2011-03-14 14:45 [PATCH 0/2] Image creator bug fixes Joshua Lock
@ 2011-03-14 14:45 ` Joshua Lock
2011-03-14 14:45 ` [PATCH 2/2] bitbake/hob: fix cancel button Joshua Lock
2011-03-14 21:10 ` [PATCH 0/2] Image creator bug fixes Richard Purdie
2 siblings, 0 replies; 4+ messages in thread
From: Joshua Lock @ 2011-03-14 14:45 UTC (permalink / raw)
To: poky
From: Joshua Lock <josh@linux.intel.com>
Set abort to False in prepareTreeData so that unbuildable targets do not
raise an exception.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
bitbake/lib/bb/cooker.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 18e9bb8..97863e5 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -253,7 +253,9 @@ class BBCooker:
localdata = data.createCopy(self.configuration.data)
bb.data.update_data(localdata)
bb.data.expandKeys(localdata)
- taskdata = bb.taskdata.TaskData(self.configuration.abort)
+ # We set abort to False here to prevent unbuildable targets raising
+ # an exception when we're just generating data
+ taskdata = bb.taskdata.TaskData(False)
runlist = []
for k in pkgs_to_build:
--
1.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] bitbake/hob: fix cancel button
2011-03-14 14:45 [PATCH 0/2] Image creator bug fixes Joshua Lock
2011-03-14 14:45 ` [PATCH 1/2] bitbake/cooker: don't error in prepareTreeData for unbuildable targets Joshua Lock
@ 2011-03-14 14:45 ` Joshua Lock
2011-03-14 21:10 ` [PATCH 0/2] Image creator bug fixes Richard Purdie
2 siblings, 0 replies; 4+ messages in thread
From: Joshua Lock @ 2011-03-14 14:45 UTC (permalink / raw)
To: poky
From: Joshua Lock <josh@linux.intel.com>
An accidental logic inversion (aka thinko) had the cancel button only
cancel a build when the user didn't confirm the cancellation (i.e. clicked
no)...
Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
bitbake/lib/bb/ui/hob.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py
index 5278881..0f8fe8c 100644
--- a/bitbake/lib/bb/ui/hob.py
+++ b/bitbake/lib/bb/ui/hob.py
@@ -420,7 +420,7 @@ class MainWindow (gtk.Window):
label.show()
response = dialog.run()
dialog.destroy()
- if not response == gtk.RESPONSE_YES:
+ if response == gtk.RESPONSE_YES:
self.handler.cancel_build()
return
--
1.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] Image creator bug fixes
2011-03-14 14:45 [PATCH 0/2] Image creator bug fixes Joshua Lock
2011-03-14 14:45 ` [PATCH 1/2] bitbake/cooker: don't error in prepareTreeData for unbuildable targets Joshua Lock
2011-03-14 14:45 ` [PATCH 2/2] bitbake/hob: fix cancel button Joshua Lock
@ 2011-03-14 21:10 ` Richard Purdie
2 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2011-03-14 21:10 UTC (permalink / raw)
To: Joshua Lock; +Cc: poky
On Mon, 2011-03-14 at 14:45 +0000, Joshua Lock wrote:
> From: Joshua Lock <josh@linux.intel.com>
>
> This series contains a couple of GUI bug fixes intended for Bernard and master.
>
> The first stops unbuildable targets from breaking the image creator, though I'd
> like to investigate the possibility of stopping such recipes even being shown
> in the GUI I thought it useful to provide a workaround for the Bernard release.
>
> The second fixes a logic inversions and ensures that the cancel button does the
> right thing.
>
> Pull URL: git://git.pokylinux.org/poky-contrib.git
> Branch: josh/hob-bernard
> Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=josh/hob-bernard
>
> Thanks,
> Joshua Lock <josh@linux.intel.com>
> ---
>
>
> Joshua Lock (2):
> bitbake/cooker: don't error in prepareTreeData for unbuildable
> targets
> bitbake/hob: fix cancel button
>
> bitbake/lib/bb/cooker.py | 4 +++-
> bitbake/lib/bb/ui/hob.py | 2 +-
> 2 files changed, 4 insertions(+), 2 deletions(-)
Merged into poky master, thanks.
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-03-14 21:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-14 14:45 [PATCH 0/2] Image creator bug fixes Joshua Lock
2011-03-14 14:45 ` [PATCH 1/2] bitbake/cooker: don't error in prepareTreeData for unbuildable targets Joshua Lock
2011-03-14 14:45 ` [PATCH 2/2] bitbake/hob: fix cancel button Joshua Lock
2011-03-14 21:10 ` [PATCH 0/2] Image creator bug fixes Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.