All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] File checksum regression fix
@ 2014-04-10 16:35 Paul Eggleton
  2014-04-10 16:35 ` [PATCH 1/1] cache: don't trigger reparse on recipes with wildcards in SRC_URI Paul Eggleton
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Eggleton @ 2014-04-10 16:35 UTC (permalink / raw)
  To: bitbake-devel

The following changes since commit 40027a6e093c3b7480bfaccbd57e0e613d9a7b71:

  toaster: Allow toaster to start without pytz (2014-04-09 18:21:40 +0100)

are available in the git repository at:

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

Paul Eggleton (1):
  cache: don't trigger reparse on recipes with wildcards in SRC_URI

 lib/bb/cache.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.9.0



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

* [PATCH 1/1] cache: don't trigger reparse on recipes with wildcards in SRC_URI
  2014-04-10 16:35 [PATCH 0/1] File checksum regression fix Paul Eggleton
@ 2014-04-10 16:35 ` Paul Eggleton
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggleton @ 2014-04-10 16:35 UTC (permalink / raw)
  To: bitbake-devel

Since we now get wildcards in the file checksum list in the cache, we
need to ignore them when checking to see if they still exist. This
fixes connman-gnome reparsing on every bitbake execution in OE-Core.

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

diff --git a/lib/bb/cache.py b/lib/bb/cache.py
index 318781b..431fc07 100644
--- a/lib/bb/cache.py
+++ b/lib/bb/cache.py
@@ -527,7 +527,7 @@ class Cache(object):
         if hasattr(info_array[0], 'file_checksums'):
             for _, fl in info_array[0].file_checksums.items():
                 for f in fl.split():
-                    if not os.path.exists(f):
+                    if not ('*' in f or os.path.exists(f)):
                         logger.debug(2, "Cache: %s's file checksum list file %s was removed",
                                         fn, f)
                         self.remove(fn)
-- 
1.9.0



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

end of thread, other threads:[~2014-04-10 16:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-10 16:35 [PATCH 0/1] File checksum regression fix Paul Eggleton
2014-04-10 16:35 ` [PATCH 1/1] cache: don't trigger reparse on recipes with wildcards in SRC_URI 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.