meta: add ASSUME_PROVIDED dependency on wget-native for http fetches

For clarity and consistency, add a dependency on wget-native for any URIs that
will be fetched using the wget fetcher, and add wget-native to ASSUME_PROVIDED.

(From OE-Core rev: 91583704383aef3d4742630380fd3f1d38c4b00a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2016-01-25 13:38:00 +00:00
committed by Richard Purdie
parent f9266106db
commit 0c0b07286f
2 changed files with 5 additions and 0 deletions

View File

@@ -553,6 +553,10 @@ python () {
for uri in srcuri.split():
(scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
# HTTP/FTP use the wget fetcher
if scheme in ("http", "https", "ftp"):
d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
# Svn packages should DEPEND on subversion-native
if scheme == "svn":
d.appendVarFlag('do_fetch', 'depends', ' subversion-native:do_populate_sysroot')

View File

@@ -179,6 +179,7 @@ ASSUME_PROVIDED = "\
texinfo-native \
bash-native \
sed-native \
wget-native \
"
# gzip-native should be listed above?