summaryrefslogtreecommitdiffstats
path: root/recipes-extended/merge-files
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2015-07-23 16:02:25 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2015-07-28 23:26:59 -0300
commit6a868a671472d454b407a165fc31c5f7dfe783c6 (patch)
tree7bd2ab13a04d14215264cc992501970cacfb20ef /recipes-extended/merge-files
parent62e212fe4812a6c726df4ac8e77d4a77e0e54247 (diff)
downloadmeta-freescale-6a868a671472d454b407a165fc31c5f7dfe783c6.tar.gz
Move meta-fsl-ppc content to layer root
This commit is just a rename of all contents of meta-fsl-ppc subdirectory to this layer's root, merging the contents of common files, subsequent changes are based on top of that. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-extended/merge-files')
-rw-r--r--recipes-extended/merge-files/merge-files/merge/README7
-rw-r--r--recipes-extended/merge-files/merge-files_1.0.bb25
2 files changed, 32 insertions, 0 deletions
diff --git a/recipes-extended/merge-files/merge-files/merge/README b/recipes-extended/merge-files/merge-files/merge/README
new file mode 100644
index 00000000..8f0d85af
--- /dev/null
+++ b/recipes-extended/merge-files/merge-files/merge/README
@@ -0,0 +1,7 @@
1This package is used to merge specified files into rootfs.
2
3Steps:
41> copy files to recipes-*/merge-files/merge-files/merge/
52> add 'IMAGE_INSTALL += "merge-files"' into rootfs recipe
63> bitbake <rootfs_image_type>
7
diff --git a/recipes-extended/merge-files/merge-files_1.0.bb b/recipes-extended/merge-files/merge-files_1.0.bb
new file mode 100644
index 00000000..f64b909f
--- /dev/null
+++ b/recipes-extended/merge-files/merge-files_1.0.bb
@@ -0,0 +1,25 @@
1DESCRIPTION = "Merge prebuilt/extra files into rootfs"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
4 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
5
6inherit allarch
7
8SRC_URI = "file://merge"
9
10MERGED_DST ?= "${ROOT_HOME}"
11do_install () {
12 install -d ${D}/${MERGED_DST}
13 find ${WORKDIR}/merge/ -maxdepth 1 -mindepth 1 -not -name README \
14 -exec cp -fr '{}' ${D}/${MERGED_DST}/ \;
15 find ${WORKDIR}/merge/ -maxdepth 1 -mindepth 1 -exec rm -fr '{}' \;
16}
17do_unpack[nostamp] = "1"
18do_install[nostamp] = "1"
19do_configure[noexec] = "1"
20do_compile[noexec] = "1"
21
22FILES_${PN} = "/*"
23ALLOW_EMPTY_${PN} = "1"
24INSANE_SKIP_${PN} = "debug-files dev-so"
25