Re: [yocto] No Package Provides /bin/awk

2019-11-14 Thread Wayne Li
Just for the record, I was able to solve the problem by going to all the files in the kernel-devsrc/1.0-r0 (the same directory corresponding to what was described in the error) and changing the "#!/bin/awk" line to "!#usr/bin/awk". On Wed, Nov 13, 2019 at 1:43 PM Wayne Li wrote: > Sorry I am fai

Re: [yocto] No Package Provides /bin/awk

2019-11-13 Thread Wayne Li
Sorry I am fairly new to bitbake. How do I apply a patch? Why do I have to apply a patch as opposed to just editing corresponding files (I know that is probably a dumb question but again I am very new to bitbake)? Khem Raj did mention a patch to fix the problem: https://git.yoctoproject.org/cgi

Re: [yocto] No Package Provides /bin/awk

2019-11-13 Thread Mark Hatle
Bitbake inspects the binaries and looks at the #! line. You need to change the line itself (via a patch) to /usr/bin/awk, and then it will pick up the dependency automatically on a rebuild. --Mark On 11/13/19 12:14 PM, Wayne Li wrote: > On further inspection of the older image my coworker made,

Re: [yocto] No Package Provides /bin/awk

2019-11-13 Thread Wayne Li
On further inspection of the older image my coworker made, it looks like awk is located at "/usr/bin/awk". I see this by just doing a "which awk" in the console of the T4240 RDB when the old image is loaded. So it looks like the most likely case is that Khem Raj is correct and that bitbake is exp

Re: [yocto] No Package Provides /bin/awk

2019-11-13 Thread Wayne Li
I'd like also like to mention that my main concern with the ver_linux files that I found in my project was that the shebang line was " #!/bin/sh" instead of "#!/bin/awk -f" which is the shebang line in the ver_linux file in the patch. The patch wants to change the shebang line from "#!/bin/awk -f"

Re: [yocto] No Package Provides /bin/awk

2019-11-13 Thread Wayne Li
So after further investigation, I'm fairly sure awk is actually present in the target image. Here are my reasons why I feel that this is the case: -I looked at the busybox menuconfig GUI that comes up when I run "bitbake -c menuconfig busybox" and it says awk is built-in. -I looked at various def

Re: [yocto] No Package Provides /bin/awk

2019-11-13 Thread Khem Raj
On Wed, 2019-11-13 at 10:33 +0200, Adrian Bunk wrote: > On Tue, Nov 12, 2019 at 04:08:48PM -0600, Wayne Li wrote: > > Dear Yocto Developers, > > > > I'm trying to to build a Yocto kernel for a T4240 RDB. When I run > > "bitbake > > fsl-image-full" to build the entire linux image, I get an error >

Re: [yocto] No Package Provides /bin/awk

2019-11-13 Thread Adrian Bunk
On Tue, Nov 12, 2019 at 04:08:48PM -0600, Wayne Li wrote: > Dear Yocto Developers, > > I'm trying to to build a Yocto kernel for a T4240 RDB. When I run "bitbake > fsl-image-full" to build the entire linux image, I get an error that says > "Can't install kernel-devsrc-1.0-r0@t4240rdb_64b: no pack