[meta-intel] [PATCH 10/21] meta-intel/common: Update Canterbury Corpus do_install recipe
Kamble, Nitin A
nitin.a.kamble at intel.com
Thu May 8 14:07:31 PDT 2014
On 5/7/2014 5:19 PM, wei.sern.chan at intel.com wrote:
> From: Ong Boon Leong <boon.leong.ong at intel.com>
>
> Fix do_install() issue caused by "patches" folder that is auto-generated
> in do_unpack() step. Fix the issue by being explicitly listing out
> the files in the canterbury corpus tarball.
Same comment as the one given on the last commit.
Nitin
>
> Signed-off-by: Ong Boon Leong <boon.leong.ong at intel.com>
> ---
> .../canterbury-corpus/canterbury-corpus.bb | 20 +++++++++++++++++++-
> 1 file changed, 19 insertions(+), 1 deletion(-)
>
> diff --git a/common/recipes-corpus/canterbury-corpus/canterbury-corpus.bb b/common/recipes-corpus/canterbury-corpus/canterbury-corpus.bb
> index eb5afad..93a1795 100644
> --- a/common/recipes-corpus/canterbury-corpus/canterbury-corpus.bb
> +++ b/common/recipes-corpus/canterbury-corpus/canterbury-corpus.bb
> @@ -29,7 +29,25 @@ do_unpack () {
>
> FILES_${PN} = "/lib/firmware/*"
>
> +CORPUS_FILELIST=" \
> + alice29.txt \
> + asyoulik.txt \
> + cp.html \
> + fields.c \
> + grammar.lsp \
> + kennedy.xls \
> + lcet10.txt \
> + plrabn12.txt \
> + ptt5 \
> + sum \
> + xargs.1 \
> + "
> +
> do_install () {
> install -d ${D}${base_libdir}/firmware
> - install -m 644 ${S}/* ${D}${base_libdir}/firmware
> +
> + for i in ${CORPUS_FILELIST}
> + do
> + install -m 644 ${S}/$i ${D}${base_libdir}/firmware
> + done
> }
More information about the meta-intel
mailing list