Re: [OE-core] [PATCH v2] lib/oe/utils: add eol to format_pkg_list()

2018-10-04 Thread Richard Purdie
On Thu, 2018-10-04 at 08:29 +0300, grygorii tertychnyi via Openembedded-core wrote: > Append '\n' to the non-empty formatted string before return. If you > write it to the (manifest) file, it will ensure file ends with a > newline. > > Many GNU utilities have problems processing the last line of

[OE-core] [PATCH v2] lib/oe/utils: add eol to format_pkg_list()

2018-10-03 Thread grygorii tertychnyi via Openembedded-core
Append '\n' to the non-empty formatted string before return. If you write it to the (manifest) file, it will ensure file ends with a newline. Many GNU utilities have problems processing the last line of a file if it is not '\n' terminated. E.g. if the last line is not terminated by a newline