Skip to contentSkip to conversation

multimedia:;Add media contents to rootfs

PATCH Superseded Ulf Samuelsson 1 participant 2 messages Mar 12, 2010 Arm/Microchip (AT91) SoC support

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multimedia:;Add media contents to rootfs

This package will copy the contents of "multimedia.tar.bz2." (Note the dot at the end) to the "/home/root/multimedia" directory in the target. By replacing the empty default file, you can add your own multimedia files for testing.

---
 recipes/multimedia/files/multimedia.tar.bz2. |  Bin 0 -> 118 bytes
 recipes/multimedia/multimedia_0.1.bb         |   19 +++++++++++++++++++
 2 files changed, 19 insertions(+), 0 deletions(-)
 create mode 100644 recipes/multimedia/files/multimedia.tar.bz2.
 create mode 100644 recipes/multimedia/multimedia_0.1.bb
recipes/multimedia/files/multimedia.tar.bz2. new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..09d719c63e6aa4afafce68e4bd6131e1a484537a
GIT binary patch
recipes/multimedia/multimedia_0.1.bb new file +19 -0
new file mode 100644
index 0000000..5776059
@@ -0,0 +1,19 @@
+DESCRIPTION = "MultiMedia files"
+PR = "r1"
+
+# Note '.' at end of the filename to avoid decompress by bitbake
+SRC_URI = "\
+	file://multimedia.tar.bz2. \
+	"
+
+do_install() {
+	install -d ${D}/home/root/multimedia
+	tar jxvf ${WORKDIR}/multimedia.tar.bz2.	-C ${D}/home/root/multimedia
+	rm -f ${D}/home/root/multimedia/.empty
+}
+
+FILES_${PN} = "\
+	/home/root/multimedia/* \
+	"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
Signature · 1 line
1.6.0.2
#1 lore raw

PATCH 1/1 at91sam9-image: Add real author of file

From: Nicolas Ferre <[email protected]>

The previous commit lacked --author="Nicolas Ferre <[email protected]>

---
 recipes/images/x11-at91sam9-image.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
recipes/images/x11-at91sam9-image.bb +1 -1
index 663d824..c2bd723 100755
@@ -32,8 +32,8 @@ ANGSTROM_EXTRA_INSTALL += " \
 	dosfstools \
 	mtd-utils \
 	multimedia \
-#	nbench-byte \
 	gpe-mini-browser \
+#	nbench-byte \
 #	pointercal \
 	"
 
Signature · 1 line
1.6.0.2