On 5/7/2014 5:19 PM, [email protected] wrote:
From: Ong Boon Leong <[email protected]>
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 <[email protected]>
---
.../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
}
--
_______________________________________________
meta-intel mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-intel