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

wei.sern.chan at intel.com wei.sern.chan at intel.com
Mon May 12 12:16:07 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 canterbury 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/canterbury-corpus/canterbury-corpus.bb |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/common/recipes-corpus/canterbury-corpus/canterbury-corpus.bb b/common/recipes-corpus/canterbury-corpus/canterbury-corpus.bb
index 4c73d15..4dcdea1 100644
--- a/common/recipes-corpus/canterbury-corpus/canterbury-corpus.bb
+++ b/common/recipes-corpus/canterbury-corpus/canterbury-corpus.bb
@@ -30,6 +30,10 @@ do_unpack () {
 	tar -xf ${DL_DIR}/cantrbry.tar.gz -C ${S}
 }
 
+do_unpack_append () {
+	rm -rf ${S}/patches
+}
+
 FILES_${PN} = "/lib/firmware/*"
 
 do_install () {
-- 
1.7.10.4



More information about the meta-intel mailing list