diff options
author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2013-03-13 14:40:13 +0100 |
---|---|---|
committer | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2013-03-13 14:40:13 +0100 |
commit | a9d70669d6a9d2e80a01182c732336be0cd5513b (patch) | |
tree | d8bb8744c9e924493c9e8021358281f73b5bda84 /meta-linaro/recipes-linaro/files-injection | |
parent | 7517a3e34dee3586122685cb49a8d1984be1d16e (diff) | |
download | meta-linaro-a9d70669d6a9d2e80a01182c732336be0cd5513b.tar.gz |
move everything to meta-linaro directory
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Diffstat (limited to 'meta-linaro/recipes-linaro/files-injection')
-rw-r--r-- | meta-linaro/recipes-linaro/files-injection/files-injection.bb | 22 | ||||
-rw-r--r-- | meta-linaro/recipes-linaro/files-injection/files/files-to-inject.tar.xz | bin | 0 -> 196 bytes | |||
-rw-r--r-- | meta-linaro/recipes-linaro/files-injection/files/files-to-inject/empty | 0 |
3 files changed, 22 insertions, 0 deletions
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 Binary files differnew file mode 100644 index 00000000..50e169db --- /dev/null +++ b/meta-linaro/recipes-linaro/files-injection/files/files-to-inject.tar.xz 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 --- /dev/null +++ b/meta-linaro/recipes-linaro/files-injection/files/files-to-inject/empty |