diff options
author | Ross Burton <ross.burton@intel.com> | 2016-01-25 13:38:00 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-04 23:35:04 +0000 |
commit | 91583704383aef3d4742630380fd3f1d38c4b00a (patch) | |
tree | 086d52d20d1dbfa74316a34cc7a614abb5b263f9 /meta | |
parent | 4c9d063c72cc021ee22472783f74d73078671813 (diff) | |
download | openembedded-core-91583704383aef3d4742630380fd3f1d38c4b00a.tar.gz openembedded-core-91583704383aef3d4742630380fd3f1d38c4b00a.tar.bz2 openembedded-core-91583704383aef3d4742630380fd3f1d38c4b00a.zip |
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.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/base.bbclass | 4 | ||||
-rw-r--r-- | meta/conf/bitbake.conf | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index d68ffbe848..d4b11bc7a8 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -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') diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 1a2f420c74..775c0c6617 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -179,6 +179,7 @@ ASSUME_PROVIDED = "\ texinfo-native \ bash-native \ sed-native \ + wget-native \ " # gzip-native should be listed above? |