All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] A couple of misc fixes
@ 2015-03-16 10:45 Paul Eggleton
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Eggleton @ 2015-03-16 10:45 UTC (permalink / raw)
  To: openembedded-core

Two not-really-related fixes I made while working on devtool recently. The
oe-selftest patch adds a test that would have caught the regression that
occurred with wildcard support in bitbake-layers remove-layer.


The following changes since commit fb29441216435b9bae47ca9cd42db5a6b1fe77d8:

  oeqa/parselogs: Skip hda opcode errors (2015-03-12 12:49:22 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib paule/fixes3
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/fixes3

Paul Eggleton (2):
  waffle: drop unneeded setting of EXTRA_OECMAKE
  oe-selftest: improve bitbake-layers tests

 meta/lib/oeqa/selftest/bblayers.py           | 27 ++++++++++++++++++++++-----
 meta/recipes-graphics/waffle/waffle_1.3.0.bb |  3 ---
 2 files changed, 22 insertions(+), 8 deletions(-)

-- 
1.9.3



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

* [PATCH 0/2] A couple of misc fixes
@ 2015-08-20  8:18 Paul Eggleton
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Eggleton @ 2015-08-20  8:18 UTC (permalink / raw)
  To: poky

The following changes since commit 6b8bb442880ef18097e47761f4f3b6f555f2877c:

  genericx86*: Update BSPs to use 4.1 Kernel (2015-08-19 18:05:56 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib paule/meta-yocto-fixes
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=paule/meta-yocto-fixes

Paul Eggleton (2):
  README.hardware: drop mention of binary-only drivers
  yocto-bsp / yocto-layer: fix template recipes

 README.hardware                                                       | 4 +---
 .../target/arch/common/recipes-kernel/linux/linux-yocto-custom.bb     | 1 -
 .../target/arch/layer/recipes-example/example/example-recipe-0.1.bb   | 3 +--
 3 files changed, 2 insertions(+), 6 deletions(-)

-- 
2.1.0



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

* [PATCH 0/2] A couple of misc fixes
@ 2017-11-08  2:20 Paul Eggleton
  2017-11-08  2:20 ` [PATCH 1/2] tinfoil: ensure get_recipe_info() returns Null if recipe not found Paul Eggleton
  2017-11-08  2:20 ` [PATCH 2/2] cooker: fix typo in bitbake -g message Paul Eggleton
  0 siblings, 2 replies; 5+ messages in thread
From: Paul Eggleton @ 2017-11-08  2:20 UTC (permalink / raw)
  To: bitbake-devel

A fix for a tinfoil issue as well as a typo.


The following changes since commit e1e8565b5e19dd3f7ef6e7e41932456adaa3df81:

  tests/fetch: Add ftp test url (2017-11-07 14:41:54 +0000)

are available in the git repository at:

  git://git.openembedded.org/bitbake-contrib paule/bb-fixes2
  http://cgit.openembedded.org/bitbake-contrib/log/?h=paule/bb-fixes2

Paul Eggleton (2):
  tinfoil: ensure get_recipe_info() returns Null if recipe not found
  cooker: fix typo in bitbake -g message

 lib/bb/cooker.py  |  2 +-
 lib/bb/tinfoil.py | 17 ++++++++++-------
 2 files changed, 11 insertions(+), 8 deletions(-)

-- 
2.9.5



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

* [PATCH 1/2] tinfoil: ensure get_recipe_info() returns Null if recipe not found
  2017-11-08  2:20 [PATCH 0/2] A couple of misc fixes Paul Eggleton
@ 2017-11-08  2:20 ` Paul Eggleton
  2017-11-08  2:20 ` [PATCH 2/2] cooker: fix typo in bitbake -g message Paul Eggleton
  1 sibling, 0 replies; 5+ messages in thread
From: Paul Eggleton @ 2017-11-08  2:20 UTC (permalink / raw)
  To: bitbake-devel

If a matching recipe is not found then return Null instead of raising
KeyError because we were blindly using None as a key for pkg_fn.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 lib/bb/tinfoil.py | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/lib/bb/tinfoil.py b/lib/bb/tinfoil.py
index fb2ee4a..8bac394 100644
--- a/lib/bb/tinfoil.py
+++ b/lib/bb/tinfoil.py
@@ -604,13 +604,16 @@ class Tinfoil:
         recipecache = self.cooker.recipecaches[mc]
         prov = self.find_best_provider(pn)
         fn = prov[3]
-        actual_pn = recipecache.pkg_fn[fn]
-        recipe = TinfoilRecipeInfo(recipecache,
-                                    self.config_data,
-                                    pn=actual_pn,
-                                    fn=fn,
-                                    fns=recipecache.pkg_pn[actual_pn])
-        return recipe
+        if fn:
+            actual_pn = recipecache.pkg_fn[fn]
+            recipe = TinfoilRecipeInfo(recipecache,
+                                        self.config_data,
+                                        pn=actual_pn,
+                                        fn=fn,
+                                        fns=recipecache.pkg_pn[actual_pn])
+            return recipe
+        else:
+            return None
 
     def parse_recipe(self, pn):
         """
-- 
2.9.5



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

* [PATCH 2/2] cooker: fix typo in bitbake -g message
  2017-11-08  2:20 [PATCH 0/2] A couple of misc fixes Paul Eggleton
  2017-11-08  2:20 ` [PATCH 1/2] tinfoil: ensure get_recipe_info() returns Null if recipe not found Paul Eggleton
@ 2017-11-08  2:20 ` Paul Eggleton
  1 sibling, 0 replies; 5+ messages in thread
From: Paul Eggleton @ 2017-11-08  2:20 UTC (permalink / raw)
  To: bitbake-devel

Flatened -> flattened.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 lib/bb/cooker.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index c7fdd72..28717f4 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -885,7 +885,7 @@ class BBCooker:
                         continue
                     f.write('"%s" -> "%s"\n' % (pn, dep))
             f.write("}\n")
-        logger.info("Flatened recipe dependencies saved to 'recipe-depends.dot'")
+        logger.info("Flattened recipe dependencies saved to 'recipe-depends.dot'")
 
     def show_appends_with_no_recipes(self):
         # Determine which bbappends haven't been applied
-- 
2.9.5



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

end of thread, other threads:[~2017-11-08  2:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-08  2:20 [PATCH 0/2] A couple of misc fixes Paul Eggleton
2017-11-08  2:20 ` [PATCH 1/2] tinfoil: ensure get_recipe_info() returns Null if recipe not found Paul Eggleton
2017-11-08  2:20 ` [PATCH 2/2] cooker: fix typo in bitbake -g message Paul Eggleton
  -- strict thread matches above, loose matches on Subject: below --
2015-08-20  8:18 [PATCH 0/2] A couple of misc fixes Paul Eggleton
2015-03-16 10:45 Paul Eggleton

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.