<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 6, 2014 at 6:08 PM, Paul Eggleton <span dir="ltr">&lt;<a href="mailto:paul.eggleton@linux.intel.com" target="_blank">paul.eggleton@linux.intel.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Wednesday 06 August 2014 17:34:09 Sujith H wrote:<br>
&gt; From: Sujith H &lt;<a href="mailto:Sujith_Haridasan@mentor.com">Sujith_Haridasan@mentor.com</a>&gt;<br>
&gt;<br>
&gt; This is needed to deal with the situation where we&#39;re using ipk packaging,<br>
&gt; so opkg-utils must be built regardless of what update-alternatives provider<br>
&gt; we prefer. The downside to the current implementation is the need to adjust<br>
&gt; PACKAGECONFIG as well as PREFERRED_PROVIDER, but it is more explicit that<br>
&gt; way.<br>
&gt;<br>
&gt; Signed-off-by: Christopher Larson &lt;<a href="mailto:kergoth@gmail.com">kergoth@gmail.com</a>&gt;<br>
&gt; Signed-off-by: Sujith H &lt;<a href="mailto:Sujith_Haridasan@mentor.com">Sujith_Haridasan@mentor.com</a>&gt;<br>
&gt; ---<br>
&gt;  meta/recipes-devtools/opkg-utils/<a href="http://opkg-utils_git.bb" target="_blank">opkg-utils_git.bb</a> | 8 +++++++-<br>
&gt;  1 file changed, 7 insertions(+), 1 deletion(-)<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/opkg-utils/<a href="http://opkg-utils_git.bb" target="_blank">opkg-utils_git.bb</a><br>
&gt; b/meta/recipes-devtools/opkg-utils/<a href="http://opkg-utils_git.bb" target="_blank">opkg-utils_git.bb</a> index 693c216..952fce4<br>
&gt; 100644<br>
&gt; --- a/meta/recipes-devtools/opkg-utils/<a href="http://opkg-utils_git.bb" target="_blank">opkg-utils_git.bb</a><br>
&gt; +++ b/meta/recipes-devtools/opkg-utils/<a href="http://opkg-utils_git.bb" target="_blank">opkg-utils_git.bb</a><br>
&gt; @@ -19,11 +19,17 @@ TARGET_CC_ARCH += &quot;${LDFLAGS}&quot;<br>
&gt;  PYTHONRDEPS = &quot;python python-shell python-io python-math python-crypt<br>
&gt; python-logging python-fcntl python-subprocess python-pickle<br>
&gt; python-compression python-textutils python-stringold&quot;<br>
&gt; PYTHONRDEPS_class-native = &quot;&quot;<br>
&gt;<br>
&gt; -PACKAGECONFIG = &quot;python&quot;<br>
&gt; +PACKAGECONFIG = &quot;python update-alternatives&quot;<br>
&gt;  PACKAGECONFIG[python] = &quot;,,,${PYTHONRDEPS}&quot;<br>
&gt; +PACKAGECONFIG[update-alternatives] = &quot;,,,&quot;<br>
&gt; +<br>
&gt; +PROVIDES_remove = &quot;${@&#39;virtual/update-alternatives&#39; if<br>
&gt; &#39;update-alternatives&#39; not in PACKAGECONFIG.split() else &#39;&#39;}&quot;<br>
<br>
</div></div>If we have to do this, rather than using _remove here could we simply make<br>
adding it conditional?<br></blockquote><div><br></div><div>Isn&#39;t _remove itself conditional? Pardon me if my understanding is wrong.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>
Cheers,<br>
Paul<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
<br>
Paul Eggleton<br>
Intel Open Source Technology Centre<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>സുജിത് ഹരിദാസന്<br>Bangalore<br>&lt;Project&gt;Contributor to KDE project<br><a href="http://fci.wikia.com/wiki/Anti-DRM-Campaign" target="_blank">http://fci.wikia.com/wiki/Anti-DRM-Campaign</a><br>

&lt;Blog&gt; <a href="http://sujithh.info" target="_blank">http://sujithh.info</a><br>
</div></div>