From: Chan Wei Sern <[email protected]>

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 <[email protected]>
Signed-off-by: Ong Boon Leong <[email protected]>
---
 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

-- 
_______________________________________________
meta-intel mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-intel

Reply via email to