]> 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, 5 Apr 2018 14:11:13 +0000 (15:11 +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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/archiver.bbclass

index 188f8c0423256275c16257e48976439d237d3f2a..71c9fd577b5d54e1cbee6626ee85e5f41998e81e 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', True) in ['gcc', 'libgcc'] \
             and not pn.startswith('gcc-source'):