]> code.ossystems Code Review - openembedded-core.git/commitdiff
archiver: avoid archiving source for glibc-locale
authorZhenbo Gao <zhenbo.gao@windriver.com>
Wed, 10 May 2017 07:50:26 +0000 (15:50 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 May 2017 13:01:37 +0000 (14:01 +0100)
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>
meta/classes/archiver.bbclass

index 647d2cf2d753ed842dc34837981b25588d788b77..aa741463d7ae1527d63b4403dbfb80f07497ffd8 100644 (file)
@@ -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'):