diff options
author | Bian Naimeng <biannm@cn.fujitsu.com> | 2015-07-03 11:47:47 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-16 15:09:18 +0100 |
commit | 4012fd32359d733b18cbe178f95ff47d04848526 (patch) | |
tree | 7f3fd5dccda5b5ded7e892e08fe9c1f355b3e886 /meta/classes/base.bbclass | |
parent | c18fadb068d4bf76f79372808f220e892b520fb0 (diff) | |
download | poky-4012fd32359d733b18cbe178f95ff47d04848526.tar.gz |
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.
(From OE-Core rev: 81216da9fa90dc8a67a0f367742b1e73afec0aa1)
Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 3 |
1 files changed, 0 insertions, 3 deletions
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() { | |||
152 | fetcher.unpack(rootdir) | 152 | fetcher.unpack(rootdir) |
153 | except bb.fetch2.BBFetchException as e: | 153 | except bb.fetch2.BBFetchException as e: |
154 | raise bb.build.FuncFailed(e) | 154 | raise bb.build.FuncFailed(e) |
155 | |||
156 | if not os.path.exists(s_dir): | ||
157 | 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)) | ||
158 | } | 155 | } |
159 | 156 | ||
160 | def pkgarch_mapping(d): | 157 | def pkgarch_mapping(d): |