<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">&lt;<a href="mailto:mark.hatle@windriver.com" target="_blank">mark.hatle@windriver.com</a>&gt;</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>
&gt; os.walk() returns symlinks to directories in the &quot;dirs&quot; lists,<br>
&gt; but then never enters them by default. As a result, the old<br>
&gt; code applied neither the directory handling (because that<br>
&gt; is active once a directory gets entered) nor the file handling,<br>
&gt; and thus never packaged such symlinks.<br>
&gt;<br>
&gt; The fix is simple: find such special directory entries and move<br>
&gt; them to the &quot;files&quot; list.<br>
<br>
</span>I&#39;m curious, what is the problem that is being fixed with this.<br>
<br>
Normally you don&#39;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&#39;t have access to when packaging (i.e. /proc).</blockquote></div><br>This patch doesn&#39;t make it walk into the directory symlinks, it moves them into the files list rather than the dirs list so they&#39;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>