From 81216da9fa90dc8a67a0f367742b1e73afec0aa1 Mon Sep 17 00:00:00 2001 From: Bian Naimeng Date: Fri, 3 Jul 2015 11:47:47 +0800 Subject: do_unpack: move qa check of unpack into insane.bbclass Some source archive are not standard format. For example, sometimes, we still need decompress file once again after base_do_unpack, in such case, the following warning will be caught. WARNING: xxx : the directory ${WORKDIR}/xxxx (xxxxxx) pointed to by the S variable doesn't exist \ - please set S within the recipe to point to where the source has been unpacked to So, we should do this QA check after all of unpack jobs been completed. Signed-off-by: Bian Naimeng Signed-off-by: Ross Burton --- meta/classes/base.bbclass | 3 --- 1 file changed, 3 deletions(-) (limited to 'meta/classes/base.bbclass') diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index fe803f1836..e5417897d0 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -152,9 +152,6 @@ python base_do_unpack() { fetcher.unpack(rootdir) except bb.fetch2.BBFetchException as e: raise bb.build.FuncFailed(e) - - if not os.path.exists(s_dir): - bb.warn('%s: the directory %s (%s) pointed to by the S variable doesn\'t exist - please set S within the recipe to point to where the source has been unpacked to' % (d.getVar('PN', True), d.getVar('S', False), s_dir)) } def pkgarch_mapping(d): -- cgit v1.2.3