Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] [jethro] Consolidated pull
@ 2016-06-12 14:31 Robert Yang
  2016-06-12 14:31 ` [PATCH 1/2] bluez5: move btmgmt to common READLINE section Robert Yang
  2016-06-12 14:31 ` [PATCH 2/2] wic: fix path parsing, use last occurrence Robert Yang
  0 siblings, 2 replies; 3+ messages in thread
From: Robert Yang @ 2016-06-12 14:31 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 1f4bfa33073584c25396d74f3929f263f3df188b:

  toasterconf.json: exclude releases Toaster can't build (2016-06-03 13:36:19 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/jethro-next
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/jethro-next

George McCollister (1):
  wic: fix path parsing, use last occurrence

Nicolas Dechesne (1):
  bluez5: move btmgmt to common READLINE section

 meta/recipes-connectivity/bluez5/bluez5_5.33.bb | 2 +-
 scripts/lib/wic/plugin.py                       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.8.0



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

* [PATCH 1/2] bluez5: move btmgmt to common READLINE section
  2016-06-12 14:31 [PATCH 0/2] [jethro] Consolidated pull Robert Yang
@ 2016-06-12 14:31 ` Robert Yang
  2016-06-12 14:31 ` [PATCH 2/2] wic: fix path parsing, use last occurrence Robert Yang
  1 sibling, 0 replies; 3+ messages in thread
From: Robert Yang @ 2016-06-12 14:31 UTC (permalink / raw)
  To: openembedded-core

From: Nicolas Dechesne <nicolas.dechesne@linaro.org>

Upstream in 5.33 btmgmt was moved from experimental to common READLINE section,
in commit e4f0c5582f1fe3451d5588243adba9de1ed68b80, but this was never updated
in the recipe.

This is a backport from master branch, commit
28777e593d3dd3a5d0ee2effcdca6a971e2887f9.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
---
 meta/recipes-connectivity/bluez5/bluez5_5.33.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/bluez5/bluez5_5.33.bb b/meta/recipes-connectivity/bluez5/bluez5_5.33.bb
index 23c7397..3084a64 100644
--- a/meta/recipes-connectivity/bluez5/bluez5_5.33.bb
+++ b/meta/recipes-connectivity/bluez5/bluez5_5.33.bb
@@ -10,6 +10,7 @@ NOINST_TOOLS_READLINE ?= " \
     tools/obex-server-tool \
     tools/bluetooth-player \
     tools/obexctl \
+    tools/btmgmt \
 "
 
 # noinst programs in Makefile.tools that are conditional on EXPERIMENTAL
@@ -34,7 +35,6 @@ NOINST_TOOLS_EXPERIMENTAL ?= " \
     tools/hwdb \
     tools/hcieventmask \
     tools/hcisecfilter \
-    tools/btmgmt \
     tools/btinfo \
     tools/btattach \
     tools/btsnoop \
-- 
2.8.0



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

* [PATCH 2/2] wic: fix path parsing, use last occurrence
  2016-06-12 14:31 [PATCH 0/2] [jethro] Consolidated pull Robert Yang
  2016-06-12 14:31 ` [PATCH 1/2] bluez5: move btmgmt to common READLINE section Robert Yang
@ 2016-06-12 14:31 ` Robert Yang
  1 sibling, 0 replies; 3+ messages in thread
From: Robert Yang @ 2016-06-12 14:31 UTC (permalink / raw)
  To: openembedded-core

From: George McCollister <george.mccollister@gmail.com>

If the path contains 'scripts' more than once the first occurrence will be
incorrectly used. Use rfind instead of find to find the last occurrence.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
---
 scripts/lib/wic/plugin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/wic/plugin.py b/scripts/lib/wic/plugin.py
index ccfdfcb..151ff31 100644
--- a/scripts/lib/wic/plugin.py
+++ b/scripts/lib/wic/plugin.py
@@ -42,7 +42,7 @@ class PluginMgr(object):
 
     def __init__(self):
         wic_path = os.path.dirname(__file__)
-        eos = wic_path.find('scripts') + len('scripts')
+        eos = wic_path.rfind('scripts') + len('scripts')
         scripts_path = wic_path[:eos]
         self.scripts_path = scripts_path
         self.plugin_dir = scripts_path + PLUGIN_DIR
-- 
2.8.0



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

end of thread, other threads:[~2016-06-12 14:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-12 14:31 [PATCH 0/2] [jethro] Consolidated pull Robert Yang
2016-06-12 14:31 ` [PATCH 1/2] bluez5: move btmgmt to common READLINE section Robert Yang
2016-06-12 14:31 ` [PATCH 2/2] wic: fix path parsing, use last occurrence Robert Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox