package_rpm.bbclass: support packaging of symlinks to directories
authorPatrick Ohly <patrick.ohly@intel.com>
Tue, 3 Feb 2015 14:27:49 +0000 (06:27 -0800)
committerPatrick Ohly <patrick.ohly@intel.com>
Tue, 3 Feb 2015 14:30:47 +0000 (06:30 -0800)
commitf118cfa23bc5f18773cb17ae8ea498d204459489
treeb0581ecc62a2f1e87551dce5199b69c176e6535d
parent4a7b826daea8373bbc2845a49a33fc5be24af5b8
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.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta/classes/package_rpm.bbclass