From: Bob Cochran <yocto@mindchasers.com>
To: meta-freescale@yoctoproject.org
Subject: Re: [meta-fsl-ppc][PATCH 4/5] merge-files: add recipe
Date: Tue, 22 Jul 2014 12:21:00 -0400 [thread overview]
Message-ID: <53CE8F6C.5080609@mindchasers.com> (raw)
In-Reply-To: <1406025138-11195-4-git-send-email-ting.liu@freescale.com>
On 07/22/2014 06:32 AM, ting.liu@freescale.com wrote:
> From: Ting Liu <b28495@freescale.com>
>
> Signed-off-by: Ting Liu <b28495@freescale.com>
> ---
> .../merge-files/merge-files/merge/README | 7 +++++
> recipes-extended/merge-files/merge-files_1.0.bb | 25 ++++++++++++++++++++
> 2 files changed, 32 insertions(+), 0 deletions(-)
> create mode 100644 recipes-extended/merge-files/merge-files/merge/README
> create mode 100644 recipes-extended/merge-files/merge-files_1.0.bb
>
> 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 0000000..cd907fe
> --- /dev/null
> +++ b/recipes-extended/merge-files/merge-files/merge/README
> @@ -0,0 +1,7 @@
> +This package is used to merge specified files into rootfs.
> +
> +Steps:
> +1> copy files to recipes-*/merge-files/merge-files/merged/
minor comment:
Should be /merge-files/merge-files/merge/ not .../merged/
> +2> add 'IMAGE_INSTALL += "merge-files"' into rootfs recipe
> +3> bitbake <rootfs_image_type>
> +
> 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 0000000..f64b909
> --- /dev/null
> +++ b/recipes-extended/merge-files/merge-files_1.0.bb
> @@ -0,0 +1,25 @@
> +DESCRIPTION = "Merge prebuilt/extra files into rootfs"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
> + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
> +
> +inherit allarch
> +
> +SRC_URI = "file://merge"
> +
> +MERGED_DST ?= "${ROOT_HOME}"
> +do_install () {
> + install -d ${D}/${MERGED_DST}
> + find ${WORKDIR}/merge/ -maxdepth 1 -mindepth 1 -not -name README \
> + -exec cp -fr '{}' ${D}/${MERGED_DST}/ \;
> + find ${WORKDIR}/merge/ -maxdepth 1 -mindepth 1 -exec rm -fr '{}' \;
> +}
> +do_unpack[nostamp] = "1"
> +do_install[nostamp] = "1"
> +do_configure[noexec] = "1"
> +do_compile[noexec] = "1"
> +
> +FILES_${PN} = "/*"
> +ALLOW_EMPTY_${PN} = "1"
> +INSANE_SKIP_${PN} = "debug-files dev-so"
> +
>
next prev parent reply other threads:[~2014-07-22 16:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-22 10:32 [meta-fsl-ppc][PATCH 1/5] remove obsolete patches ting.liu
2014-07-22 10:32 ` [meta-fsl-ppc][PATCH 2/5] luajit: add bbappend to hold ppc specific patch ting.liu
2014-07-22 10:32 ` [meta-fsl-ppc][PATCH 3/5] init-ifupdown: use customized interfaces for qoriq-ppc ting.liu
2014-07-22 10:32 ` [meta-fsl-ppc][PATCH 4/5] merge-files: add recipe ting.liu
2014-07-22 16:21 ` Bob Cochran [this message]
2014-07-22 16:35 ` SabreLite HDMI? Randy Krakora
2014-07-22 16:55 ` Eric Nelson
2014-07-22 10:32 ` [meta-fsl-ppc][PATCH 5/5] procps: disabling reverse-path filtering ting.liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53CE8F6C.5080609@mindchasers.com \
--to=yocto@mindchasers.com \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.