[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5904/8267] archiver: avoid archiving source for glibc-locale



commit 4ef31feab1fc15e6d1100348845820e4bc429a16
Author: Zhenbo Gao <zhenbo gao windriver com>
Date:   Wed May 10 15:50:26 2017 +0800

    archiver: avoid archiving source for glibc-locale
    
    Avoid archiving source for glibc-locale as its tasks
    do_fetch do_unpack and do_patch have already been deleted.
    
    (From OE-Core rev: 50ed224ebc8d88a900febdc78013fa0c791d71cf)
    
    Signed-off-by: Zhenbo Gao <zhenbo gao windriver com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/classes/archiver.bbclass |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 647d2cf..aa74146 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -67,6 +67,12 @@ python () {
     else:
         bb.debug(1, 'archiver: %s is included: %s' % (pn, reason))
 
+
+    # glibc-locale: do_fetch, do_unpack and do_patch tasks have been deleted,
+    # so avoid archiving source here.
+    if pn.startswith('glibc-locale'):
+        return
+
     # We just archive gcc-source for all the gcc related recipes
     if d.getVar('BPN') in ['gcc', 'libgcc'] \
             and not pn.startswith('gcc-source'):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]