Simon Glass f1a83abe60 buildman: Use bytes for the environment
At present we sometimes see problems in gitlab where the environment has
0x80 characters or sequences which are not valid UTF-8.

Avoid this by using bytes for the environment, both internal to buildman
and when writing out the 'env' file. Add a test to make sure this works
as expected.

Reported-by: Marek Vasut <marex@denx.de>
Fixes: e5fc79ea718 ("buildman: Write the environment out to an 'env' file")
Signed-off-by: Simon Glass <sjg@chromium.org>
2021-04-29 03:23:39 -07:00
..
2019-12-06 16:44:20 -05:00
2019-07-29 00:20:31 +02:00
2021-01-13 02:38:00 +01:00
2020-10-09 12:02:26 -04:00
2019-11-04 18:15:32 -07:00