<p dir="ltr">On May 28, 2014 5:09 PM, &quot;Richard Purdie&quot; &lt;<a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a>&gt; wrote:<br>
&gt;<br>
&gt; On Tue, 2014-05-27 at 17:38 -0600, Dan McGregor wrote:<br>
&gt; &gt; From: Dan McGregor &lt;<a href="mailto:dan.mcgregor@usask.ca">dan.mcgregor@usask.ca</a>&gt;<br>
&gt; &gt;<br>
&gt; &gt; On systems with /bin and /usr/bin merged the gzip recipe may find grep<br>
&gt; &gt; in /usr/bin, while OE puts it in /bin. Force the recipe to find grep in<br>
&gt; &gt; the correct place.<br>
&gt; &gt;<br>
&gt; &gt; Signed-off-by: Dan McGregor &lt;<a href="mailto:dan.mcgregor@usask.ca">dan.mcgregor@usask.ca</a>&gt;<br>
&gt; &gt; ---<br>
&gt; &gt;  meta/recipes-extended/gzip/gzip.inc | 2 ++<br>
&gt; &gt;  1 file changed, 2 insertions(+)<br>
&gt; &gt;<br>
&gt; &gt; diff --git a/meta/recipes-extended/gzip/gzip.inc<br>
&gt; &gt; b/meta/recipes-extended/gzip/gzip.inc<br>
&gt; &gt; index 920b256..57873cb 100644<br>
&gt; &gt; --- a/meta/recipes-extended/gzip/gzip.inc<br>
&gt; &gt; +++ b/meta/recipes-extended/gzip/gzip.inc<br>
&gt; &gt; @@ -12,6 +12,8 @@ SRC_URI = &quot;${GNU_MIRROR}/gzip/${BP}.tar.gz&quot;<br>
&gt; &gt;<br>
&gt; &gt;  inherit autotools texinfo<br>
&gt; &gt;<br>
&gt; &gt; +EXTRA_OEMAKE = &quot;GREP=${base_bindir}/grep&quot;<br>
&gt; &gt; +<br>
&gt; &gt;  do_install_append () {<br>
&gt; &gt;   # Rename and move files into /bin (FHS), which is typical place for gzip<br>
&gt; &gt;   install -d ${D}${base_bindir}<br>
&gt;<br>
&gt; My worry is what happens to gzip-native. Do we have to encode a path?<br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; Richard<br>
&gt;<br>
gzip native does encode a path, but what it encodes should probably be what gets automatically configured. Would making the EXTRA_OEMAKE variable be EXTRA_OEMAKE_class-target then?</p>