classes/buildhistory: fix expansion of escape sequences
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Sat, 25 Jan 2014 21:25:05 +0000 (21:25 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 3 Feb 2014 11:57:09 +0000 (11:57 +0000)
commite8c8583dddd34202800949fd22579387512d161a
tree1d682f65d99d16ea1dd8d579842fbf9a7f11a598
parent7a85d560700ac5d3850885342919ac1d47d2eb18
classes/buildhistory: fix expansion of escape sequences

OE-Core commit 259b8718a31b886f8a158aeb5de164840c9a28b2 fixed UTF-8
errors but broke decoding of escape sequences in strings (e.g.
pkg_postinst scripts had \n \t in them instead of newlines and tabs.)
We need a second call to decode() here as specifying 'string_escape' as
the second parameter won't do anything.

(From OE-Core rev: 15e0cdff08b8b9b826bbb9f00192a27318a3ee65)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/buildhistory.bbclass