mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 04:39:40 +01:00
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:
committed by
Richard Purdie
parent
f9266106db
commit
0c0b07286f
@@ -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')
|
||||
|
||||
@@ -179,6 +179,7 @@ ASSUME_PROVIDED = "\
|
||||
texinfo-native \
|
||||
bash-native \
|
||||
sed-native \
|
||||
wget-native \
|
||||
"
|
||||
# gzip-native should be listed above?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user