<p dir="ltr"><br>
On 17 Feb 2015 11:09, &quot;Mark Hatle&quot; &lt;<a href="mailto:mark.hatle@windriver.com">mark.hatle@windriver.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On 2/17/15 10:57 AM, Christopher Larson wrote:<br>
&gt; &gt;<br>
&gt; &gt; On Tue, Feb 17, 2015 at 9:54 AM, Mark Hatle &lt;<a href="mailto:mark.hatle@windriver.com">mark.hatle@windriver.com</a><br>
&gt; &gt; &lt;mailto:<a href="mailto:mark.hatle@windriver.com">mark.hatle@windriver.com</a>&gt;&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;     On 2/17/15 7:42 AM, Patrick Ohly wrote:<br>
&gt; &gt;     &gt; os.walk() returns symlinks to directories in the &quot;dirs&quot; lists,<br>
&gt; &gt;     &gt; but then never enters them by default. As a result, the old<br>
&gt; &gt;     &gt; code applied neither the directory handling (because that<br>
&gt; &gt;     &gt; is active once a directory gets entered) nor the file handling,<br>
&gt; &gt;     &gt; and thus never packaged such symlinks.<br>
&gt; &gt;     &gt;<br>
&gt; &gt;     &gt; The fix is simple: find such special directory entries and move<br>
&gt; &gt;     &gt; them to the &quot;files&quot; list.<br>
&gt; &gt;<br>
&gt; &gt;     I&#39;m curious, what is the problem that is being fixed with this.<br>
&gt; &gt;<br>
&gt; &gt;     Normally you don&#39;t want to walk into symlinks to directories, as either you want<br>
&gt; &gt;     to capture the symlink itself -- or the symlink is pointing to something you<br>
&gt; &gt;     don&#39;t have access to when packaging (i.e. /proc).<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; This patch doesn&#39;t make it walk into the directory symlinks, it moves them into<br>
&gt; &gt; the files list rather than the dirs list so they&#39;ll be captured themselves, as<br>
&gt; &gt; far as I can tell from reading it.<br>
&gt;<br>
&gt; Ok.. I missed that bit.. I&#39;m still curious what this fixes.<br>
&gt;</p>
<p dir="ltr">I haven&#39;t tried myself, but I expect it helps with the /usr merge.</p>
<p dir="ltr">&gt; --Mark<br>
&gt;<br>
&gt; --<br>
&gt; _______________________________________________<br>
&gt; Openembedded-core mailing list<br>
&gt; <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>
&gt; <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</p>