Re: [OE-core] [PATCH] buildhistory.bbclass: Improve robustness in image file listing

2014-01-28 Thread Paul Eggleton
On Monday 27 January 2014 16:52:45 Randy MacLeod wrote: On 14-01-23 07:11 AM, Otavio Salvador wrote: The filenames sometimes may have strange names. With the 'awk' script it handled a limited number of spaces in the filename and a package installing a file named test file with spaces would

Re: [OE-core] [PATCH] buildhistory.bbclass: Improve robustness in image file listing

2014-01-28 Thread Phil Blundell
On Tue, 2014-01-28 at 08:59 +, Paul Eggleton wrote: So I think this is mostly a good change, however, we don't want those - if the file isn't a symlink. Otavio, can you fix that? Isn't that what the sed 's/ - $//' in the original patch is dealing with? p.

Re: [OE-core] [PATCH] buildhistory.bbclass: Improve robustness in image file listing

2014-01-28 Thread Paul Eggleton
On Tuesday 28 January 2014 09:19:59 Phil Blundell wrote: On Tue, 2014-01-28 at 08:59 +, Paul Eggleton wrote: So I think this is mostly a good change, however, we don't want those - if the file isn't a symlink. Otavio, can you fix that? Isn't that what the sed 's/ - $//' in the original

Re: [OE-core] [PATCH] buildhistory.bbclass: Improve robustness in image file listing

2014-01-28 Thread Richard Purdie
On Mon, 2014-01-27 at 23:52 -0200, Otavio Salvador wrote: On Mon, Jan 27, 2014 at 7:52 PM, Randy MacLeod randy.macl...@windriver.com wrote: On 14-01-23 07:11 AM, Otavio Salvador wrote: The filenames sometimes may have strange names. With the 'awk' script it handled a limited number of

Re: [OE-core] [PATCH] buildhistory.bbclass: Improve robustness in image file listing

2014-01-27 Thread Otavio Salvador
On Thu, Jan 23, 2014 at 10:11 AM, Otavio Salvador ota...@ossystems.com.br wrote: The filenames sometimes may have strange names. With the 'awk' script it handled a limited number of spaces in the filename and a package installing a file named test file with spaces would have its name

Re: [OE-core] [PATCH] buildhistory.bbclass: Improve robustness in image file listing

2014-01-27 Thread Randy MacLeod
On 14-01-23 07:11 AM, Otavio Salvador wrote: The filenames sometimes may have strange names. With the 'awk' script it handled a limited number of spaces in the filename and a package installing a file named test file with spaces would have its name truncated. This patch uses the find's printf

Re: [OE-core] [PATCH] buildhistory.bbclass: Improve robustness in image file listing

2014-01-27 Thread Otavio Salvador
On Mon, Jan 27, 2014 at 7:52 PM, Randy MacLeod randy.macl...@windriver.com wrote: On 14-01-23 07:11 AM, Otavio Salvador wrote: The filenames sometimes may have strange names. With the 'awk' script it handled a limited number of spaces in the filename and a package installing a file named test

[OE-core] [PATCH] buildhistory.bbclass: Improve robustness in image file listing

2014-01-23 Thread Otavio Salvador
The filenames sometimes may have strange names. With the 'awk' script it handled a limited number of spaces in the filename and a package installing a file named test file with spaces would have its name truncated. This patch uses the find's printf formating to simplify the code and proper handle