diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2018-07-11 16:56:51 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-18 10:18:41 +0100 |
commit | 8274ccae0d81d831d8b5d5a943519cbd1e4879dd (patch) | |
tree | ff38e0c6a98c9afaf6d765ea7d4271fc6e624272 /meta/recipes-bsp/u-boot/u-boot-common_2018.05.inc | |
parent | 2e8787593f92965544159bdaa3232d4f8b29004f (diff) | |
download | poky-8274ccae0d81d831d8b5d5a943519cbd1e4879dd.tar.gz |
classes/buildhistory: properly process escaped chars from pkgdata
All values written out to pkgdata are escaped (see write_if_exists() in
package.bbclass). In practice there tend not to be characters that need
escaping except in the scriptlets (pkg_preinst, pkg_postinst, pkg_prerm
and pkg_postrm) where currently we still see the escape codes in the
corresponding files within buildhistory (e.g. \n and \t) and thus also
in the output of buildhistory-diff, hindering proper diffing of changes.
To fix this, when we read values from pkgdata and write them out to
buildhistory, we need to interpret the escape codes by doing the exact
reverse of what we do in package.bbclass.
(From OE-Core rev: c258379181a438cb01728d223b3d05e0ab205941)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/u-boot/u-boot-common_2018.05.inc')
0 files changed, 0 insertions, 0 deletions