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 > 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 fil

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

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

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 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"

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 Thu, Jan 23, 2014 at 10: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 u

[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 handl