From: Ulf Samuelsson <ulf.samuelsson@atmel.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH v3 1/2] multimedia: Add media contents to rootfs
Date: Sun, 14 Mar 2010 10:37:14 +0100 [thread overview]
Message-ID: <4B9CAE4A.6030709@atmel.com> (raw)
In-Reply-To: <1268506748-18802-1-git-send-email-ulf.samuelsson@atmel.com>
Ulf Samuelsson skrev:
> This package will copy the contents of "multimedia.tar.bz2."
> (Note the dot at the end) to the "/usr/share/multimedia" directory
> in the target. By replacing the empty default file, you
> can add your own multimedia files for testing.
>
> Signed-off-by: Ulf Samuelsson <ulf.samuelsson@atmel.com>
Seems like this fails in do_populate_staging if a filename in
the tarball contains a space.
> ---
> recipes/multimedia/multimedia_0.1.bb | 23 +++++++++++++++++++++++
> 1 files changed, 23 insertions(+), 0 deletions(-)
> create mode 100644 recipes/multimedia/multimedia_0.1.bb
>
> diff --git a/recipes/multimedia/multimedia_0.1.bb b/recipes/multimedia/multimedia_0.1.bb
> new file mode 100644
> index 0000000..986fd1c
> --- /dev/null
> +++ b/recipes/multimedia/multimedia_0.1.bb
> @@ -0,0 +1,23 @@
> +DESCRIPTION = "MultiMedia files"
> +PR = "r1"
> +
> +# This package allows you to add multimedia contents to the file system
> +# To add this, you create the file "multimedia.tar.bz2." and replace
> +# the default file included in the openembedded repository.
> +# Note '.' at end of the filename to avoid decompress by bitbake
> +
> +SRC_URI = "\
> + file://multimedia.tar.bz2. \
> + "
> +
> +do_install() {
> + install -d ${D}/usr/share/multimedia
> + tar jxvf ${WORKDIR}/multimedia.tar.bz2. -C ${D}/usr/share/multimedia
> + rm -f ${D}/usr/share/multimedia/.empty
> +}
> +
> +FILES_${PN} = "\
> + /usr/share/multimedia/* \
> + "
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
--
Best Regards
Ulf Samuelsson
prev parent reply other threads:[~2010-03-14 9:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-13 18:59 [PATCH v3 1/2] multimedia: Add media contents to rootfs Ulf Samuelsson
2010-03-13 18:59 ` [PATCH v3 2/2] multimedia: Media contents (currently empty) Ulf Samuelsson
2010-03-14 9:37 ` Ulf Samuelsson [this message]
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=4B9CAE4A.6030709@atmel.com \
--to=ulf.samuelsson@atmel.com \
--cc=openembedded-devel@lists.openembedded.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.