Received: from smtprelay-h11.telenor.se ([62.127.194.4]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1NqWbB-0008Mu-UJ for openembedded-devel@lists.openembedded.org; Sat, 13 Mar 2010 20:02:14 +0100 Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-h11.telenor.se (Postfix) with ESMTP id 9279C440EB for ; Sat, 13 Mar 2010 19:59:12 +0100 (CET) X-SMTPAUTH-B2: X-SENDER-IP: 83.227.59.242 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aoc6AMRvm0tT4zvyPGdsb2JhbACHYZMPDAEBAQE3LaxEjH6EewQ X-IronPort-AV: E=Sophos;i="4.49,633,1262559600"; d="scan'208";a="49674401" Received: from c-f23be353.011-39-73746f12.cust.bredbandsbolaget.se (HELO localhost.localdomain) ([83.227.59.242]) by ipb2.telenor.se with ESMTP; 13 Mar 2010 19:59:09 +0100 From: Ulf Samuelsson To: openembedded-devel@lists.openembedded.org Date: Sat, 13 Mar 2010 19:59:07 +0100 Message-Id: <1268506748-18802-1-git-send-email-ulf.samuelsson@atmel.com> X-Mailer: git-send-email 1.6.0.2 X-SA-Exim-Connect-IP: 62.127.194.4 X-SA-Exim-Mail-From: ulf.samuelsson@atmel.com X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Cc: Ulf Samuelsson Subject: [PATCH v3 1/2] multimedia: Add media contents to rootfs X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2010 19:02:14 -0000 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 --- 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}" -- 1.6.0.2