<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 17, 2015 at 9:54 AM, Mark Hatle <span dir="ltr"><<a href="mailto:mark.hatle@windriver.com" target="_blank">mark.hatle@windriver.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 2/17/15 7:42 AM, Patrick Ohly wrote:<br>
> os.walk() returns symlinks to directories in the "dirs" lists,<br>
> but then never enters them by default. As a result, the old<br>
> code applied neither the directory handling (because that<br>
> is active once a directory gets entered) nor the file handling,<br>
> and thus never packaged such symlinks.<br>
><br>
> The fix is simple: find such special directory entries and move<br>
> them to the "files" list.<br>
<br>
</span>I'm curious, what is the problem that is being fixed with this.<br>
<br>
Normally you don't want to walk into symlinks to directories, as either you want<br>
to capture the symlink itself -- or the symlink is pointing to something you<br>
don't have access to when packaging (i.e. /proc).</blockquote></div><br>This patch doesn't make it walk into the directory symlinks, it moves them into the files list rather than the dirs list so they'll be captured themselves, as far as I can tell from reading it.<br>-- <br><div class="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>