<div dir="ltr">Can we get this backported into bitbake-1.18 please?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 20, 2013 at 10:53 PM, Richard Purdie <span dir="ltr">&lt;<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Currently if the flags set against a variable in the base data store<br>
change, it doesn&#39;t automatically trigger a reparse when it really<br>
should. For example with the blacklist class setting:<br>
<br>
PNBLACKLIST[qemu] = &quot;bar&quot;<br>
PNBLACKLIST[bash] = &quot;foo&quot;<br>
<br>
will not trigger a reparse if only one entry is changed and a<br>
blacklisted recipe can still be built.<br>
<br>
I did consider using BB_SIGNATURE_EXCLUDE_FLAGS in here however it<br>
doesn&#39;t make sense, we want to trigger a reparse when any of the<br>
flags change too (which is different to the sstate signatures which<br>
we wouldn&#39;t want to change in those cases).<br>
<br>
[YOCTO #4627]<br>
<br>
Signed-off-by: Richard Purdie &lt;<a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a>&gt;<br>
---<br>
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py<br>
index 2fd8ccd..fa7811e 100644<br>
--- a/bitbake/lib/bb/data_smart.py<br>
+++ b/bitbake/lib/bb/data_smart.py<br>
@@ -738,6 +738,12 @@ class DataSmart(MutableMapping):<br>
             value = d.getVar(key, False) or &quot;&quot;<br>
             data.update({key:value})<br>
<br>
+            varflags = d.getVarFlags(key)<br>
+            if not varflags:<br>
+                continue<br>
+            for f in varflags:<br>
+                data.update({&#39;%s[%s]&#39; % (key, f):varflags[f]})<br>
+<br>
         for key in [&quot;__BBTASKS&quot;, &quot;__BBANONFUNCS&quot;, &quot;__BBHANDLERS&quot;]:<br>
             bb_list = d.getVar(key, False) or []<br>
             bb_list.sort()<br>
<br>
<br>
_______________________________________________<br>
bitbake-devel mailing list<br>
<a href="mailto:bitbake-devel@lists.openembedded.org">bitbake-devel@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/bitbake-devel" target="_blank">http://lists.openembedded.org/mailman/listinfo/bitbake-devel</a><br>
</blockquote></div><br></div>