]> code.ossystems Code Review - openembedded-core.git/commit
report-error: replace build paths with markers not whitespace
authorRoss Burton <ross.burton@intel.com>
Tue, 12 Jul 2016 09:23:18 +0000 (10:23 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jul 2016 09:24:51 +0000 (10:24 +0100)
commit95794e261628f83ddab0aa7b8bafb6409cc9deb5
treeb0e7748ab40bebdd17cc2f752bfeb430376c288b
parent0cb5c06ea12c9070f19045cc82fc6276bfad3970
report-error: replace build paths with markers not whitespace

To remove potentially personal information and reduce irrelevant noise when
searching for similar reports the error reporting class removes ${TOPDIR} from
the logs.  Whilst this is valid intention, the replacement of ' ' results in
potentially confusing logs as it appears that builds are happening in /tmp, or
whitespace can appear in places where it isn't allowed which can look like a
bug.

Solve both of these by replacing the value of TOPDIR with the literal string
TOPDIR.

Also replace TMPDIR after TOPDIR, as it's not uncommon to have TMPDIR somewhere
other than directly under TOPDIR.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/report-error.bbclass