From: jfabernathy <jfabernathy@gmail.com>
To: yocto@yoctoproject.org
Subject: Re: Adding test files to an image
Date: Fri, 09 Mar 2012 08:22:05 -0500 [thread overview]
Message-ID: <4F5A03FD.4080604@gmail.com> (raw)
In-Reply-To: <20120309020444.500f5533@eb-e6520>
On 03/08/2012 08:04 PM, Eric Bénard wrote:
> Le Thu, 08 Mar 2012 17:38:40 -0500,
> jfabernathy<jfabernathy@gmail.com> 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 in ${S} =
> ${WORKDIR}/myvideos-1.0/
>
> Eric
Duh! That was too easy. Not sure why it was not obvious to me. Thanks,
So I put all my videos into a directory called myvideos-1.0 and tar
gz'ed the whole directory. now the following works:
DESCRIPTION = "my video test files"
SECTION = "examples"
LICENSE = "CLOSED"
MY_DESTINATION = "/home/root/myvideos"
SRC_URI = "file://myvideos-1.0/myvideos-1.0.tar.gz"
do_install_append() {
install -d ${D}${MY_DESTINATION}
install -m 0644 ${S}/* ${D}${MY_DESTINATION}
}
PR = "r0"
FILES_${PN} += "${MY_DESTINATION}/*"
------------------------------
You just have to put your newly created tarball of the myvideos-1.0
directory in the SRC_URI.
Thanks again,
JIm A
next prev parent reply other threads:[~2012-03-09 13:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-08 15:34 Adding test files to an image jfabernathy
2012-03-08 16:57 ` Autif Khan
2012-03-08 20:44 ` jfabernathy
2012-03-08 21:33 ` Rudolf Streif
2012-03-08 21:43 ` jfabernathy
2012-03-08 22:07 ` Autif Khan
2012-03-08 22:26 ` jfabernathy
2012-03-08 22:32 ` Gary Thomas
2012-03-08 22:35 ` jfabernathy
2012-03-09 6:48 ` Khem Raj
2012-03-08 22:38 ` jfabernathy
2012-03-09 1:04 ` Eric Bénard
2012-03-09 13:22 ` jfabernathy [this message]
2012-03-09 7:38 ` Lauri Hintsala
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F5A03FD.4080604@gmail.com \
--to=jfabernathy@gmail.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.