<div dir="ltr"><div>So after further investigation, I&#39;m fairly sure awk is actually present in the target image.  Here are my reasons why I feel that this is the case:</div><div><br></div><div>-I looked at the busybox menuconfig GUI that comes up when I run &quot;bitbake -c menuconfig busybox&quot; and it says awk is built-in.  <br></div><div>-I looked at various def-config files I found by just doing a &quot;grep -rn &quot;CONFIG_AWK&quot;&quot; and found that CONFIG_AWK seems to have been enabled throughout the project (there was the line CONFIG_AWK=y uncommented in the various def-config files I mentioned).  <br></div><div>-I have an older version of the target image that my coworker (who has since left the company) created.  I just need to rebuild this image because I am trying to add some kernel modules to the image.  When I run the command &quot;awk&quot; in the console for the T4240 RDB when the older version of the image is loaded, I do see the gawk help info come up. This shows awk is present in the older image.</div><div><br></div><div>But looking at what Khem Raj mentioned, perhaps bitbake is just not finding the awk because it&#39;s actually in /usr/bin when bitbake expects it to be in /bin?  Though I am a little confused about the link you sent, Khem Raj.  How do exactly do I apply this patch?  I&#39;m assuming we have to change the file ver_linux?  I did a &quot;find . -name &quot;ver_linux&quot;&quot; and I see multiple results:</div><div><br></div><div>
bash-4.2$ find . -name &quot;ver_linux&quot;<br>./build_t4240rdb-64b/tmp/work/ppc64e6500-fsl-linux/linux-libc-headers/4.1-r0/linux-4.1/scripts/ver_linux<br>./build_t4240rdb-64b/tmp/work/ppce6500-fslmllib32-linux/lib32-linux-libc-headers/4.1-r0/linux-4.1/scripts/ver_linux<br>./build_t4240rdb-64b/tmp/work/t4240rdb_64b-fsl-linux/kernel-devsrc/1.0-r0/package/usr/src/kernel/scripts/ver_linux<br>./build_t4240rdb-64b/tmp/work/t4240rdb_64b-fsl-linux/kernel-devsrc/1.0-r0/image/usr/src/kernel/scripts/ver_linux<br>./build_t4240rdb-64b/tmp/work/t4240rdb_64b-fsl-linux/kernel-devsrc/1.0-r0/packages-split/kernel-devsrc/usr/src/kernel/scripts/ver_linux<br>./build_t4240rdb-64b/tmp/work-shared/t4240rdb-64b/kernel-source/scripts/ver_linux<br>./build_t4240rdb/tmp/work/ppc64e6500-fslmllib64-linux/lib64-linux-libc-headers/4.1-r0/linux-4.1/scripts/ver_linux<br>./build_t4240rdb/tmp/work/ppce6500-fsl-linux/linux-libc-headers/4.1-r0/linux-4.1/scripts/ver_linux<br>./build_t4240rdb/tmp/work-shared/t4240rdb/kernel-source/scripts/ver_linux <br></div><div><br></div><div>Now the build I&#39;m working on is 
build_t4240rdb-64b so the last three results in that search probably don&#39;t matter.  Though there are still six more results for when I search ver_linux.  So I&#39;m not sure which one I need to change.  Moreover, all of the ver_linux files I found more or less look like the following:</div><div><br></div><div><a href="https://gist.github.com/WayneZhenLi/c7475cf382a80bfd2de31e82c40c1677">https://gist.github.com/WayneZhenLi/c7475cf382a80bfd2de31e82c40c1677</a></div><div><br></div><div>Which seems to be very different from the ver_linux file mentioned in the patch.  This further confuses me on how to apply the patch.  <br></div><div><br></div><div>Or maybe do you guys think maybe the patch isn&#39;t the solution here?  Maybe there&#39;s some other reason bitbake isn&#39;t finding the awk?<br></div><div><br></div><div>-Thanks!, Wayne Li<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 13, 2019 at 10:57 AM Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, 2019-11-13 at 10:33 +0200, Adrian Bunk wrote:<br>
&gt; On Tue, Nov 12, 2019 at 04:08:48PM -0600, Wayne Li wrote:<br>
&gt; &gt; Dear Yocto Developers,<br>
&gt; &gt; <br>
&gt; &gt; I&#39;m trying to to build a Yocto kernel for a T4240 RDB.  When I run<br>
&gt; &gt; &quot;bitbake<br>
&gt; &gt; fsl-image-full&quot; to build the entire linux image, I get an error<br>
&gt; &gt; that says<br>
&gt; &gt; &quot;Can&#39;t install kernel-devsrc-1.0-r0@t4240rdb_64b: no package<br>
&gt; &gt; provides<br>
&gt; &gt; /bin/awk&quot;.  Here&#39;s the entire error print that I see:<br>
&gt; &gt; <br>
&gt; &gt; <a href="https://gist.github.com/WayneZhenLi/e35f65081092cf1f24df29ec369c701c" rel="noreferrer" target="_blank">https://gist.github.com/WayneZhenLi/e35f65081092cf1f24df29ec369c701c</a><br>
&gt; &gt; <br>
&gt; &gt; Anyway I&#39;m confused about this error because /bin/awk does<br>
&gt; &gt; exist.  Like if<br>
&gt; &gt; I run &quot;/bin/awk&quot; in the console I see help info come up describing<br>
&gt; &gt; how to<br>
&gt; &gt; use a program called &quot;gawk&quot;.  Why can&#39;t bitbake find /bin/awk<br>
&gt; &gt; then?  Or am<br>
&gt; &gt; I misunderstanding what this error is trying to say?  I mean I&#39;m<br>
&gt; &gt; assuming<br>
&gt; &gt; it&#39;s just not able to find /bin/awk but maybe the error means<br>
&gt; &gt; something<br>
&gt; &gt; else?  Or maybe /bin/awk is actually relative to some path?  Let me<br>
&gt; &gt; know<br>
&gt; &gt; your thoughts.<br>
&gt; <br>
&gt; /bin/awk is missing on your target image that will run on the T4240<br>
&gt; RDB.<br>
&gt; <br>
&gt; The smallest implementation is to enable CONFIG_AWK in your busybox<br>
&gt; config.<br>
&gt; <br>
<br>
import something like below patch into your kernel will help too<br>
<br>
<a href="https://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto/commit/?id=8af11c1cdd8fa08217e702b57cf96e9030db52b2" rel="noreferrer" target="_blank">https://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto/commit/?id=8af11c1cdd8fa08217e702b57cf96e9030db52b2</a><br>
<br>
&gt; &gt; -Thanks!, Wayne Li<br>
&gt; <br>
&gt; cu<br>
&gt; Adrian<br>
&gt; <br>
&gt; -- <br>
&gt; <br>
&gt;        &quot;Is there not promise of rain?&quot; Ling Tan asked suddenly out<br>
&gt;         of the darkness. There had been need of rain for many days.<br>
&gt;        &quot;Only a promise,&quot; Lao Er said.<br>
&gt;                                        Pearl S. Buck - Dragon Seed<br>
&gt; <br>
<br>
</blockquote></div>