[yocto] Adding test files to an image

jfabernathy jfabernathy at gmail.com
Thu Mar 8 13:43:38 PST 2012


On 03/08/2012 04:33 PM, Rudolf Streif wrote:
> Jeff,
>
> Use hyphen instead of underscore for the subdirectory SRC_URI:
>
> SRC_URI = "file://myvideos-1.0/myvideos-1.0.tar.gz"
>
> and of course for the subdirectory in the subdirectory where the 
> recipe is located. The file fetcher copies the entire path 
> myvideos-1.0/myvideos-1.0.tar.gz to ${WORKDIR}.
>
> Rudi
that didn't solve the problem. I still get file not found errors.  The 
videos are unpack to WORKDIR, but the do_install is looking for them in S.

        install -d 
/build/sugarbay-master/tmp/work/x86_64-poky-linux/myvideos-1.0-r0/image/home/root/myvideos
         install -m 0644 
/build/sugarbay-master/tmp/work/x86_64-poky-linux/myvideos-1.0-r0/myvideos-1.0/* 
/build/sugarbay-master/tmp/work/x86_64-poky-linux/myvideos-1.0-r0/image/home/root/myvideos

I think I need to control where the do_unpack puts the files.

Jim A




More information about the yocto mailing list