diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-20 13:01:49 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-23 16:20:11 +0100 |
commit | 694f034ec0865a0e9f9d5031ca9b0073ff735713 (patch) | |
tree | 43fb4a86396fcde68e7efb374d4a79f8bb732883 /scripts | |
parent | 199b1a8c7d7109d9b59d67bf4dcfeb03be07587a (diff) | |
download | poky-694f034ec0865a0e9f9d5031ca9b0073ff735713.tar.gz |
package.bbclass: Fix handling of symlinks in debug packages
When copying the sources for the debug source package we use cpio -Ll
which means to copy files as hardlinks and to dereference symlinks.
It appears there is a bug in cpio since -Ll will copy symlinks and
not dereference them. We therefore do a second pass over copied symlinks
resolving them into files. Ideally we would copy these as hardlinks as well
however it doesn't seem worth the extra code and effort for what amounts
to a corner case for a minor space improvement.
This means that the -dbg packages no longer contain broken symlinks.
[YOCTO #5020]
(From OE-Core rev: 2ca2c4747f645a0d478c2171fff4c65752188285)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions