Browse Source

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.

Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Zhenbo Gao 7 years ago
parent
commit
208f397c0d
1 changed files with 6 additions and 0 deletions
  1. 6 0
      meta/classes/archiver.bbclass

+ 6 - 0
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', True) in ['gcc', 'libgcc'] \
             and not pn.startswith('gcc-source'):