From a81c669973ea5ce225e730580e25a3e1bde1a45a Mon Sep 17 00:00:00 2001 From: Zhenbo Gao Date: Wed, 10 May 2017 15:50:26 +0800 Subject: [PATCH] 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) (From OE-Core rev: 32a332a54e8b857668eb60e36152b8d2ecec15bf) (From OE-Core rev: 23d55b31272568ce7d8b4549381c31512ff93b6a) Signed-off-by: Zhenbo Gao Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/classes/archiver.bbclass | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass index 2dce505138..82f0b16138 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'):