All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] [poky/denzil] yocto-bsp bugfix ported from master
@ 2012-12-13 21:27 tom.zanussi
  2012-12-13 21:27 ` [PATCH 1/1] yocto-bsp: set branches_base for list_property_values() tom.zanussi
  0 siblings, 1 reply; 2+ messages in thread
From: tom.zanussi @ 2012-12-13 21:27 UTC (permalink / raw)
  To: scott.a.garman, poky

From: Tom Zanussi <tom.zanussi@intel.com>

This is a yocto-bsp bugfix [YOCTO #3233] pulled over from poky/master.

Please pull into poky/denzil.

Thanks,

Tom

The following changes since commit d166ea7bb13eaf25b54e14f0bf9c5747ea950617:

  poky.conf: Add Ubuntu 12.04.1 LTS to SANITY_TESTED_DISTROS (2012-11-30 15:46:05 -0800)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib.git tzanussi/3233-fix-denzil-backport
  http://git.yoctoproject.org/cgit.cgi//log/?h=tzanussi/kdf

Tom Zanussi (1):
  yocto-bsp: set branches_base for list_property_values()

 scripts/lib/bsp/engine.py | 4 ++++
 1 file changed, 4 insertions(+)

-- 
1.7.11.4



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] yocto-bsp: set branches_base for list_property_values()
  2012-12-13 21:27 [PATCH 0/1] [poky/denzil] yocto-bsp bugfix ported from master tom.zanussi
@ 2012-12-13 21:27 ` tom.zanussi
  0 siblings, 0 replies; 2+ messages in thread
From: tom.zanussi @ 2012-12-13 21:27 UTC (permalink / raw)
  To: scott.a.garman, poky

From: Tom Zanussi <tom.zanussi@intel.com>

yocto_bsp_list_property_values() is missing the context it needs to
properly filter choicelists, so add it to the context object.

Fixes [YOCTO #3233]

(From meta-yocto rev: 064b15f76c5b52899f4c3fdef06412c3063062a5)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 scripts/lib/bsp/engine.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/lib/bsp/engine.py b/scripts/lib/bsp/engine.py
index 9d16b19..4ddb744 100644
--- a/scripts/lib/bsp/engine.py
+++ b/scripts/lib/bsp/engine.py
@@ -1445,6 +1445,10 @@ def yocto_bsp_list_property_values(arch, property, scripts_path, properties_file
             gen_fn = input_line.props["gen"]
             if nested_properties:
                 context["filename"] = nested_properties[0]
+                try:
+                    context["branches_base"] = input_line.props["branches_base"]
+                except KeyError:
+                    context["branches_base"] = None
             values_list = input_line.gen_choices_list(context, False)
         except KeyError:
             for choice in input_line.choices:
-- 
1.7.11.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-13 21:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-13 21:27 [PATCH 0/1] [poky/denzil] yocto-bsp bugfix ported from master tom.zanussi
2012-12-13 21:27 ` [PATCH 1/1] yocto-bsp: set branches_base for list_property_values() tom.zanussi

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.