From a9d70669d6a9d2e80a01182c732336be0cd5513b Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 13 Mar 2013 14:40:13 +0100 Subject: move everything to meta-linaro directory Signed-off-by: Marcin Juszkiewicz --- .../files-injection/files-injection.bb | 22 +++++++++++++++++++++ .../files-injection/files/files-to-inject.tar.xz | Bin 0 -> 196 bytes .../files-injection/files/files-to-inject/empty | 0 3 files changed, 22 insertions(+) create mode 100644 meta-linaro/recipes-linaro/files-injection/files-injection.bb create mode 100644 meta-linaro/recipes-linaro/files-injection/files/files-to-inject.tar.xz create mode 100644 meta-linaro/recipes-linaro/files-injection/files/files-to-inject/empty (limited to 'meta-linaro/recipes-linaro/files-injection') diff --git a/meta-linaro/recipes-linaro/files-injection/files-injection.bb b/meta-linaro/recipes-linaro/files-injection/files-injection.bb new file mode 100644 index 00000000..de4677b5 --- /dev/null +++ b/meta-linaro/recipes-linaro/files-injection/files-injection.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "Random files to be injected into rootfs" +LICENSE = "CLOSED" + +SRC_URI = "file://files-to-inject.tar.xz" + +S = "${WORKDIR}/files-to-inject/" + +# all files will be put in /opt/ directory with keeping tarball structure + +do_install() { + install -d ${D}/opt/ + cp -a ${S} ${D}/opt/ +} + +FILES_${PN} = "/opt" + +# How to use it? +# +# unpack files/files-to-inject.tar.xz tarball, add own files, compress it. +# add "files-injection" into CORE_IMAGE_EXTRA_INSTALL in your build/conf/local.conf +# build rootfs +# diff --git a/meta-linaro/recipes-linaro/files-injection/files/files-to-inject.tar.xz b/meta-linaro/recipes-linaro/files-injection/files/files-to-inject.tar.xz new file mode 100644 index 00000000..50e169db Binary files /dev/null and b/meta-linaro/recipes-linaro/files-injection/files/files-to-inject.tar.xz differ diff --git a/meta-linaro/recipes-linaro/files-injection/files/files-to-inject/empty b/meta-linaro/recipes-linaro/files-injection/files/files-to-inject/empty new file mode 100644 index 00000000..e69de29b -- cgit v1.2.3