summaryrefslogtreecommitdiffstats
path: root/recipes-containers/lxc/files/logs-optionally-use-base-filenames-to-report-src-fil.patch
Commit message (Collapse)AuthorAgeFilesLines
* lxc: logs: use base filenames when reporting src filesJim Somerville2015-10-021-0/+70
Problem: Logs are nice in that they report the source file, routine, and line number where an issue occurs. But the file is printed as the absolute filename. Users do not need to see a long spew of path directory names where the package just happened to have been built on some host somewhere. It can be confusing to anyone other than the developer. Solution: Introduce a configure option to chop off all leading directories so that just the source filename ie. basename is printed. [ Upstream status: Not needed. These absolute filenames are a consequence of poky/bitbake feeding the absolute filenames to the compiler. If you build lxc outside of poky/bitbake, just the basenames are fed to the compiler. ] Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>