summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhenbo Gao <zhenbo.gao@windriver.com>2017-05-10 15:50:26 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-18 14:01:37 +0100
commit50ed224ebc8d88a900febdc78013fa0c791d71cf (patch)
tree5ff42dc2c4094962d06bfaa56780b96ad204a602
parentfed0ed82928e6a7846fbad233ac657bd17bcefc7 (diff)
downloadopenembedded-core-contrib-50ed224ebc8d88a900febdc78013fa0c791d71cf.tar.gz
openembedded-core-contrib-50ed224ebc8d88a900febdc78013fa0c791d71cf.tar.bz2
openembedded-core-contrib-50ed224ebc8d88a900febdc78013fa0c791d71cf.zip
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>
-rw-r--r--meta/classes/archiver.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 647d2cf2d7..aa741463d7 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'):