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

Swapna.Gurumani at microchip.com Swapna.Gurumani at microchip.com
Mon Oct 31 18:17:18 PDT 2016


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 file is locate at /home/swapna/workspace/work/yocto/poky/build-atmel/tmp/work/cortexa5hf-neonpoky-linux-gnueabi/crank/1.0-r0/temp/log.do_install.16738)
ERROR: Logfile of failure stored in: /home/swapna/workspace/work/yocto/poky/buid-atmel/tmp/work/cortexa5hf-neon-poky-linux-gnueabi/crank/1.0-r0/temp/log.do_intall.16738
Log data follows:
| DEBUG: Executing shell function do_install
| make: *** No rule to make target 'install'.  Stop.
| WARNING: /home/swapna/workspace/work/yocto/poky/build-atmel/tmp/work/cortexa5f-neon-poky-linux-gnueabi/crank/1.0-r0/temp/run.do_install.16738:1 exit 2 from make INSTALL_ROOT=/home/swapna/workspace/work/yocto/poky/build-atmel/tmp/work/crtexa5hf-neon-poky-linux-gnueabi/crank/1.0-r0/image install'
| ERROR: Function failed: do_install (log file is located at /home/swapna/worksace/work/yocto/poky/build-atmel/tmp/work/cortexa5hf-neon-poky-linux-gnueabi/crak/1.0-r0/temp/log.do_install.16738)
ERROR: Task 1095 (/home/swapna/workspace/work/yocto/meta-atmel/qt5-layer/recipe-qt/apps/crank_1.0.bb, do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3563 tasks of which 3562 didn't need to be rerunand 1 failed.
No currently running tasks (3056 of 4701)

Summary: 1 task failed:
  /home/swapna/workspace/work/yocto/meta-atmel/qt5-layer/recipes-qt/apps/crank_.0.bb, do_install
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.



Can someone help me in fixing the .bb recipe?
Regards
Swapna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161101/1c98e4df/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crank_1.0.bb
Type: application/octet-stream
Size: 941 bytes
Desc: crank_1.0.bb
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161101/1c98e4df/attachment.obj>


More information about the yocto mailing list