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

2018-10-10 Thread Grygorii Tertychnyi via Openembedded-core
akuster808 writes: > Grygorii, > > > On 10/10/2018 09:26 AM, 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

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

2018-10-10 Thread akuster808
Grygorii, On 10/10/2018 09:26 AM, 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 a

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

2018-10-10 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