[Toaster] [PATCH] toaster: full path in variable history

Damian, Alexandru alexandru.damian at intel.com
Tue Mar 18 07:45:12 PDT 2014


This patch is not in a toaster-only file, I think it affects other parts of
Bitbake code.

Can you please elaborate on the test plan you used to validate this change ?

Thank you,
Alex


On Tue, Mar 18, 2014 at 12:32 PM, Marius Avram <marius.avram at intel.com>wrote:

> When an evaluation was made for a configuration file the path to the
> file was saved as a relative one. The change in this commit will save the
> location as an absolute path. This way the user will have full information
> regarding the location of the file where a variable was changed and the
> line withing the file.
>
> [YOCTO #5562]
>
> Signed-off-by: Marius Avram <marius.avram at intel.com>
> ---
>  bitbake/lib/bb/parse/parse_py/ConfHandler.py |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/bitbake/lib/bb/parse/parse_py/ConfHandler.py
> b/bitbake/lib/bb/parse/parse_py/ConfHandler.py
> index f4fb2aa..978ebe4 100644
> --- a/bitbake/lib/bb/parse/parse_py/ConfHandler.py
> +++ b/bitbake/lib/bb/parse/parse_py/ConfHandler.py
> @@ -144,7 +144,7 @@ def handle(fn, data, include):
>          # skip comments
>          if s[0] == '#':
>              continue
> -        feeder(lineno, s, fn, statements)
> +        feeder(lineno, s, abs_fn, statements)
>
>      # DONE WITH PARSING... time to evaluate
>      data.setVar('FILE', abs_fn)
> --
> 1.7.9.5
>
> --
> _______________________________________________
> toaster mailing list
> toaster at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster
>



-- 
Alex Damian
Yocto Project
SSG / OTC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20140318/e8b4a5af/attachment.html>


More information about the toaster mailing list