diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2015-02-25 06:53:29 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-27 07:39:36 +0000 |
commit | 51908e5141133269edceb3b3bc26f8907ff2b3e0 (patch) | |
tree | e52fc279467459ce843bf31446948e0ff470a2c3 /meta/classes/populate_sdk_ext.bbclass | |
parent | de638414f731838b06e41ff1d975e48ec0b58ee8 (diff) | |
download | poky-51908e5141133269edceb3b3bc26f8907ff2b3e0.tar.gz |
package_rpm.bbclass: support packaging of symlinks to directories
os.walk() returns symlinks to directories in the "dirs" lists, but then never
enters them by default. As a result, the old code applied neither the
directory handling (because that is active once a directory gets entered) nor
the file handling, and thus never packaged such symlinks.
The fix is simple: find such special directory entries and move them to the
"files" list. However, one has to be careful about the undefined behavior of
modifying a list while iterating over it.
This fix was required for packaging a modified base-files that created
symlinks into /usr for /sbin /lib and /sbin.
(From OE-Core rev: 9c4ab427b6acbc3f708860adace65393562227a7)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_ext.bbclass')
0 files changed, 0 insertions, 0 deletions