From 7929082eac2d9dc90b276afae6c201f47177c48b Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Fri, 29 May 2015 14:48:27 +0100 Subject: Ignore the configuration extensions when generating the cache-key System artifacts won't change because of changes in the configuration extensions. These extensions run at deployment time, therefore, they are ignored for generating the cache-key. Change-Id: I64f28605630bda4c27748197aef84809b4b1f86b --- morphlib/cachekeycomputer.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/morphlib/cachekeycomputer.py b/morphlib/cachekeycomputer.py index 33eef082..fd40dc38 100644 --- a/morphlib/cachekeycomputer.py +++ b/morphlib/cachekeycomputer.py @@ -115,6 +115,9 @@ class CacheKeyComputer(object): # Disregard all fields of a morphology that aren't important ignored_fields = ( 'description', # purely cosmetic, doesn't change builds + # Configuration extensions don't run at build time, therefore + # they don't have to be included in the cache key. + 'configuration-extensions', # The following are used to determine dependencies, # so are already handled by the 'kids' field. 'strata', 'build-depends', 'chunks', -- cgit v1.2.1