[meta-intel] [PATCH 1/2] meta-intel/common: Added do_unpack_append() to Calgary Corpus recipe

wei.sern.chan at intel.com wei.sern.chan at intel.com
Mon May 12 12:16:06 PDT 2014


From: Chan Wei Sern <wei.sern.chan at intel.com>

Added do_unpack_append() to fix issue caused by "patches" folder
that is auto-generated in do_unpack() step. Fix the issue by removing
"patches" folder in the calgary corpus tarball.

Signed-off-by: Chan Wei Sern <wei.sern.chan at intel.com>
Signed-off-by: Ong Boon Leong <boon.leong.ong at intel.com>
---
 common/recipes-corpus/calgary-corpus/calgary-corpus.bb |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/common/recipes-corpus/calgary-corpus/calgary-corpus.bb b/common/recipes-corpus/calgary-corpus/calgary-corpus.bb
index 5d2c66d..8c3aea8 100644
--- a/common/recipes-corpus/calgary-corpus/calgary-corpus.bb
+++ b/common/recipes-corpus/calgary-corpus/calgary-corpus.bb
@@ -17,6 +17,11 @@ do_unpack () {
 	tar -xf ${DL_DIR}/calgary.tar.gz -C ${WORKDIR}/corpus
 }
 
+
+do_unpack_append () {
+	rm -rf ${WORKDIR}/corpus/patches
+}
+
 FILES_${PN} = "/lib/firmware/*"
 
 do_install () {
-- 
1.7.10.4



More information about the meta-intel mailing list