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 package: /opt /opt/crank Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. crank: 2 installed and not shipped files. [installed-vs-shipped]
I am now getting the following error: ERROR: crank-1.0-r2 do_install: Function failed: do_install (log file is located at /home/swapna/workspace/work/yocto/poky/build-atmel/tmp/work/cortexa5hf-neon-poky-linux-gnueabi/crank/1.0-r2/temp/log.do_install.26457) ERROR: Logfile of failure stored in: /home/swapna/workspace/work/yocto/poky/build-atmel/tmp/work/cortexa5hf-neon-poky-linux-gnueabi/crank/1.0-r2/temp/log.do_install.26457 Log data follows: | DEBUG: Executing shell function do_install | cp: cannot stat '/home/swapna/workspace/work/yocto/poky/build-atmel/tmp/work/cortexa5hf-neon-poky-linux-gnueabi/crank/1.0-r2/crank': No such file or directory | WARNING: /home/swapna/workspace/work/yocto/poky/build-atmel/tmp/work/cortexa5hf-neon-poky-linux-gnueabi/crank/1.0-r2/temp/run.do_install.26457:1 exit 1 from 'cp -a --no-preserve=ownership /home/swapna/workspace/work/yocto/poky/build-atmel/tmp/work/cortexa5hf-neon-poky-linux-gnueabi/crank/1.0-r2/crank /home/swapna/workspace/work/yocto/poky/build-atmel/tmp/work/cortexa5hf-neon-poky-linux-gnueabi/crank/1.0-r2/image/opt/' | ERROR: Function failed: do_install (log file is located at /home/swapna/workspace/work/yocto/poky/build-atmel/tmp/work/cortexa5hf-neon-poky-linux-gnueabi/crank/1.0-r2/temp/log.do_install.26457) ERROR: Task 1082 (/home/swapna/workspace/work/yocto/meta-atmel/qt5-layer/recipes-qt/apps/crank_1.0.bb, do_install) failed with exit code '1' NOTE: Tasks Summary: Attempted 3806 tasks of which 3805 didn't need to be rerun and 1 failed. No currently running tasks (3034 of 4662) Summary: 1 task failed: /home/swapna/workspace/work/yocto/meta-atmel/qt5-layer/recipes-qt/apps/crank_1.0.bb, do_install Summary: There was 1 WARNING message shown. Summary: There was 1 ERROR message shown, returning a non-zero exit code. 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. Could you please help me with this? Regards Swapna -----Original Message----- From: Paul Eggleton [mailto:paul.eggle...@linux.intel.com] Sent: Monday, October 31, 2016 11:59 PM To: Swapna Gurumani - C40450 <swapna.gurum...@microchip.com> Cc: yocto@yoctoproject.org Subject: Re: [yocto] how to copy a tar file to Root file system 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 > /opt/runsb.sh > /opt/README.txt Ah, I think you need this line first in do_install: install -d ${D}/opt/crank Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre
crank_1.0.bb
Description: crank_1.0.bb
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto