Re: [yocto] how to copy a tar file to Root file system

2016-11-03 Thread Paul Eggleton
On Wed, 02 Nov 2016 20:17:11 swapna.gurum...@microchip.com wrote: > > In any case, when debugging situations like this it helps to make a fresh > > start - run "bitbake -c clean crank" (you don't need -c cleansstate > > because being stuck at do_install you haven't got to any real sstate tasks > >

Re: [yocto] how to copy a tar file to Root file system

2016-11-02 Thread Swapna.Gurumani
Thank you to Paul Eggleton, Daniel and Ross Burton. I was able to solve by miseries by adding the following line to my miseries: FILES_${PN}-staticdev = "/opt/crank/linux-sama5d-armle-fbdev-obj/lib/*.a" Ref: http://stackoverflow.com/questions/28792597/how-to-add-a-new-library-using-yocto Regards

Re: [yocto] how to copy a tar file to Root file system

2016-11-02 Thread Swapna.Gurumani
> > Also if I look into the > /home/swapna/workspace/work/yocto/poky/build-atmel/tmp/work/cortexa5hf > -neon- > poky-linux-gnueabi/crank/1.0-r2 It is empty. There's something strange going on here, because the path you have just given is ${WORKDIR} - and that shouldn't be able to be empty at

Re: [yocto] how to copy a tar file to Root file system

2016-11-02 Thread Burton, Ross
On 2 November 2016 at 20:00, wrote: > Thank you so much for your help. My .bb file now looks like as attached. > Did your tar file have .a and .so?? I am getting errors because of them. > Can I force the do_package_qa to skip? > > You might find this document

Re: [yocto] how to copy a tar file to Root file system

2016-11-02 Thread Swapna.Gurumani
Hi Danile, Thank you so much for your help. My .bb file now looks like as attached. Did your tar file have .a and .so?? I am getting errors because of them. Can I force the do_package_qa to skip? Thanks, Regards Swapna From: Daniel. [mailto:danielhi...@gmail.com] Sent: Tuesday, November 01,

Re: [yocto] how to copy a tar file to Root file system

2016-11-01 Thread Daniel.
I have an example of a recipe exploding a tar here: https://gist.github.com/gkos/02eccb8e1e02312327aa6db6cdc9d501 The tar is used as a source. So the bitbake explodes it to ${WORKDIR} and I simply copy it to /opt I hope that this helps :) Regards, 2016-11-01 18:00 GMT-02:00 Paul Eggleton

Re: [yocto] how to copy a tar file to Root file system

2016-11-01 Thread Paul Eggleton
On Tue, 01 Nov 2016 18:45:02 swapna.gurum...@microchip.com wrote: > Every step I take close, I take 2 back :( > My bb now looks like the one attached. I had to add each folder for > FILES_${PN} contrary to your advice otherwise I got the following error: > ERROR: crank-1.0-r2 do_package: QA Issue:

Re: [yocto] how to copy a tar file to Root file system

2016-11-01 Thread Swapna.Gurumani
Hello, Every step I take close, I take 2 back :( My bb now looks like the one attached. I had to add each folder for FILES_${PN} contrary to your advice otherwise I got the following error: ERROR: crank-1.0-r2 do_package: QA Issue: crank: Files/directories were installed but not shipped in any

Re: [yocto] how to copy a tar file to Root file system

2016-11-01 Thread Bas Mevissen
On 01/11/16 05:03, swapna.gurum...@microchip.com wrote: With the attached recipe I get the following error: From the recipe: inherit pkgconfig Why do you inherit pkgconfig and aren't you inheriting bin_package? Regards, Bas. -- Bas. -- ___

Re: [yocto] how to copy a tar file to Root file system

2016-11-01 Thread Paul Eggleton
On Tue, 01 Nov 2016 04:03:58 swapna.gurum...@microchip.com wrote: > With the attached recipe I get the following error: > ERROR: crank-1.0-r0 do_package: QA Issue: crank: Files/directories were > installed but not shipped in any package: /opt > /opt/sb_launch.sh > /opt/clear_buffers >

Re: [yocto] how to copy a tar file to Root file system

2016-10-31 Thread Swapna.Gurumani
With the attached recipe I get the following error: ERROR: crank-1.0-r0 do_package: QA Issue: crank: Files/directories were installed but not shipped in any package: /opt /opt/sb_launch.sh /opt/clear_buffers /opt/runsb.sh /opt/README.txt .. ... . . .

Re: [yocto] how to copy a tar file to Root file system

2016-10-31 Thread Paul Eggleton
On Tue, 01 Nov 2016 03:12:15 swapna.gurum...@microchip.com wrote: > Thank you so much for your speedy response!!! Actually I ended up attaching > an older bb file. I had some more modifications as attached. I changed > license to close per your suggestion. Should I change FILES_${PN} to look >

Re: [yocto] how to copy a tar file to Root file system

2016-10-31 Thread Paul Eggleton
Hi Swapna, On Tue, 01 Nov 2016 01:17:18 swapna.gurum...@microchip.com wrote: > Hi, I have a tar file on my local drive and I want to untar this and copy it > to my rootfilesystem image. Please find attached the .bb recipe I am using. > When I run bitbake for this recipe, my build breaks with the

[yocto] how to copy a tar file to Root file system

2016-10-31 Thread Swapna.Gurumani
Hi, I have a tar file on my local drive and I want to untar this and copy it to my rootfilesystem image. Please find attached the .bb recipe I am using. When I run bitbake for this recipe, my build breaks with the following error: ERROR: crank-1.0-r0 do_install: Function failed: do_install (log