toaster: full path in variable history
PATCH 1/1 toaster: full path in variable history
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]
--- bitbake/lib/bb/parse/parse_py/ConfHandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/lib/bb/parse/parse_py/ConfHandler.py +1 -1
@@ -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)
Signature · 1 line
1.7.9.5
Quoted 6 lines · Marius Avram
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.
Quoted 6 lines
[YOCTO #5562]
Signed-off-by Marius Avram <[email protected]>--- bitbake/lib/bb/parse/parse_py/ConfHandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
I've taken this since I think it should be reasonable however I did have to change the commit message since this doesn't touch toaster, it touched ConfHandler.
Cheers,
Richard
Thank you for taking care of this.
I've got this through some testing and I could not find fault :)
Thanks,
Alex
Quoted 29 lines · Richard Purdie
Quoted 3 lines · Marius Avram
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
Quoted 9 lines
regarding the location of the file where a variable was changed and the line withing the file.
[YOCTO #5562]
Signed-off-by Marius Avram <[email protected]>--- bitbake/lib/bb/parse/parse_py/ConfHandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)I've taken this since I think it should be reasonable however I did have to change the commit message since this doesn't touch toaster, it touched ConfHandler.
Cheers,
Richard
--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster
Signature · 3 lines
Alex Damian Yocto Project SSG / OTC