diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2014-01-23 10:11:05 -0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-28 11:32:50 +0000 |
commit | f328a9d53b51e31bb0c30eda221cf6857b7bd4f9 (patch) | |
tree | c6b8c1bb4e7ea04feab19b1b88959f250d7685a2 /meta/classes/pkgconfig.bbclass | |
parent | d955d6a8f52edcffe3c81af7b01f2e3843dbe432 (diff) | |
download | poky-f328a9d53b51e31bb0c30eda221cf6857b7bd4f9.tar.gz |
buildhistory.bbclass: Improve robustness in image file listing
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
properly handle this case. From a testing image, the only diff produced
is:
,----[ files-in-image.txt diff ]
| --rwxr-xr-x root root 0 ./usr/bin/test\ file\ with\
| +-rwxr-xr-x root root 0 ./usr/bin/test file with spaces
`----
The options used are available since findutils 4.2.5, released in 19
Nov 2004, making it available in all supported host distributions.
(From OE-Core rev: b09e24449c1c9ae335732dd070eacf66777556a1)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/pkgconfig.bbclass')
0 files changed, 0 insertions, 0 deletions