Re: Adding test files to an image

Jim Abernathy

On 03/08/2012 04:33 PM, Rudolf Streif wrote:

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}.

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

Join { to automatically receive all group messages.