Applied to master, thanks.
On Sun, Mar 21, 2010 at 3:25 PM, Enrico Scholz <
[email protected]> wrote:
> When not expanding PREMIRRORS, the functions fails/does not work correctly
> when PREMIRRORS is not a plain string (e.g. contains ${...} or a $...@...}
> statements).
>
> Signed-off-by: Enrico Scholz <[email protected]>
> ---
> lib/bb/fetch/__init__.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/lib/bb/fetch/__init__.py b/lib/bb/fetch/__init__.py
> index 598a41b..6edb5e5 100644
> --- a/lib/bb/fetch/__init__.py
> +++ b/lib/bb/fetch/__init__.py
> @@ -524,7 +524,7 @@ class FetchData(object):
> # if user sets localpath for file, use it instead.
> self.localpath = self.parm["localpath"]
> else:
> - premirrors = bb.data.getVar('PREMIRRORS', d)
> + premirrors = bb.data.getVar('PREMIRRORS', d, True)
> local = ""
> if premirrors and self.url:
> aurl = self.url.split(";")[0]
> --
> 1.6.6.1
>
> _______________________________________________
> Bitbake-dev mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/bitbake-dev
>
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
_______________________________________________
Bitbake-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bitbake-dev