Re: [yocto] Adding test files to an image

2012-03-09 Thread jfabernathy
On 03/08/2012 08:04 PM, Eric Bénard wrote: Le Thu, 08 Mar 2012 17:38:40 -0500, jfabernathy a écrit : So what I can get to work is the following recipe, but what I want is not o have to specify the file extension: you may be able to build your archive in a directory like : myvideos-1.0/files.m

Re: [yocto] Adding test files to an image

2012-03-08 Thread Lauri Hintsala
On 03/08/2012 05:34 PM, jfabernathy wrote: Suppose I want to build the meta-intel/meta-sugarbay image and also include some video and audio files into the /home/root directory to facilitate testing of the video and audio players. I have used ROOTFS_POSTPROCESS_COMMAND variable to add some extra

Re: [yocto] Adding test files to an image

2012-03-08 Thread Khem Raj
> >Set S to be what you need in the recipe, e.g. > > S = "${WORKDIR}/jfabernathy-${PV}" > >or whatever it is you need > > > Thanks, I know I can change S, but I need to change where do_unpack > puts the files. with them in WORKDIR, I can't just say WORKDIR/* > because there are a lot of other fi

Re: [yocto] Adding test files to an image

2012-03-08 Thread Eric Bénard
Le Thu, 08 Mar 2012 17:38:40 -0500, jfabernathy a écrit : > So what I can get to work is the following recipe, but what I want is > not o have to specify the file extension: > you may be able to build your archive in a directory like : myvideos-1.0/files.mp4, so that your files will be available

Re: [yocto] Adding test files to an image

2012-03-08 Thread jfabernathy
On 03/08/2012 05:32 PM, Gary Thomas wrote: On 2012-03-08 15:26, jfabernathy wrote: On 03/08/2012 05:07 PM, Autif Khan wrote: On Thu, Mar 8, 2012 at 4:43 PM, jfabernathy wrote: On 03/08/2012 04:33 PM, Rudolf Streif wrote: Jeff, Use hyphen instead of underscore for the subdirectory SRC_URI: S

Re: [yocto] Adding test files to an image

2012-03-08 Thread jfabernathy
On 03/08/2012 05:32 PM, Gary Thomas wrote: On 2012-03-08 15:26, jfabernathy wrote: On 03/08/2012 05:07 PM, Autif Khan wrote: On Thu, Mar 8, 2012 at 4:43 PM, jfabernathy wrote: On 03/08/2012 04:33 PM, Rudolf Streif wrote: Jeff, Use hyphen instead of underscore for the subdirectory SRC_URI: S

Re: [yocto] Adding test files to an image

2012-03-08 Thread Gary Thomas
On 2012-03-08 15:26, jfabernathy wrote: On 03/08/2012 05:07 PM, Autif Khan wrote: On Thu, Mar 8, 2012 at 4:43 PM, jfabernathy wrote: 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.t

Re: [yocto] Adding test files to an image

2012-03-08 Thread jfabernathy
On 03/08/2012 05:07 PM, Autif Khan wrote: On Thu, Mar 8, 2012 at 4:43 PM, jfabernathy wrote: 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 subdirecto

Re: [yocto] Adding test files to an image

2012-03-08 Thread Autif Khan
On Thu, Mar 8, 2012 at 4:43 PM, jfabernathy wrote: > 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

Re: [yocto] Adding test files to an image

2012-03-08 Thread jfabernathy
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 my

Re: [yocto] Adding test files to an image

2012-03-08 Thread Rudolf Streif
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}.

Re: [yocto] Adding test files to an image

2012-03-08 Thread jfabernathy
On 03/08/2012 11:57 AM, Autif Khan wrote: Suppose I want to build the meta-intel/meta-sugarbay image and also include some video and audio files into the /home/root directory to facilitate testing of the video and audio players. Can I include these files in a recipe somewhere? I use the recipe

Re: [yocto] Adding test files to an image

2012-03-08 Thread Autif Khan
> Suppose I want to build the meta-intel/meta-sugarbay image and also include > some video and audio files into the /home/root directory to facilitate > testing of the video and audio players. > > Can I include these files in a recipe somewhere? I use the recipe at the end of this message to inclu

[yocto] Adding test files to an image

2012-03-08 Thread jfabernathy
Suppose I want to build the meta-intel/meta-sugarbay image and also include some video and audio files into the /home/root directory to facilitate testing of the video and audio players. Can I include these files in a recipe somewhere? Also, I know that I can increase the spare image size so t