Patchwork [meta-fsl-arm,v2] fsl-eula-unpack: add FSL_EULA_FILE to vardepsexclude

login
register
mail settings
Submitter Christopher Larson
Date Oct. 23, 2013, 10:30 p.m.
Message ID <1382567441-21101-1-git-send-email-kergoth@gmail.com>
Download mbox | patch
Permalink /patch/60425/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Christopher Larson - Oct. 23, 2013, 10:30 p.m.
FSL_EULA_FILE is defined with :=, which means it contains a full absolute path
to the layer directory. If this is allowed to make it into the task checksum,
it becomes impossible to use the shared states for these recipes without
having meta-fsl-arm in the exact same path in the filesystem it was in when
the sstate archives were created. Add FSL_EULA_FILE to
do_unpack[vardepsexclude].

Signed-off-by: Christopher Larson <kergoth@gmail.com>
---
 classes/fsl-eula-unpack.bbclass | 2 ++
 1 file changed, 2 insertions(+)
Christopher Larson - Oct. 23, 2013, 10:31 p.m.
On Wed, Oct 23, 2013 at 3:30 PM, Christopher Larson <kergoth@gmail.com>wrote:

> +do_unpack[vardepsexclude] += "FSL_EULA_FILE"


Fixed to use += in v2.

Patch

diff --git a/classes/fsl-eula-unpack.bbclass b/classes/fsl-eula-unpack.bbclass
index 6660a88..0da17c3 100644
--- a/classes/fsl-eula-unpack.bbclass
+++ b/classes/fsl-eula-unpack.bbclass
@@ -59,3 +59,5 @@  python do_unpack() {
 
     bb.build.exec_func('fsl_bin_do_unpack', d)
 }
+
+do_unpack[vardepsexclude] += "FSL_EULA_FILE"