summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/images/build-appliance-image_12.0.1.bb
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2015-02-25 06:53:29 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-27 07:39:31 +0000
commit9c4ab427b6acbc3f708860adace65393562227a7 (patch)
tree2f11431df152ef4b1deb5bd6b1ac609b8340686a /meta/recipes-core/images/build-appliance-image_12.0.1.bb
parent0f51c1260ac53aa4843e29b00cd600eb64074260 (diff)
downloadopenembedded-core-9c4ab427b6acbc3f708860adace65393562227a7.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. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/images/build-appliance-image_12.0.1.bb')
0 files changed, 0 insertions, 0 deletions