]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
lib/oe/path: Fix performance issue got copyhardlinktree()
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Nov 2013 15:19:05 +0000 (15:19 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Nov 2013 10:34:09 +0000 (10:34 +0000)
commit8a07a176d70b8dd1f3a735681e91352cba27bef2
tree134435c9471b344e428081ee8841c50bf9f6a610
parent5e73287ad88837c6fea9d03bb1af81a1f83e89cc
lib/oe/path: Fix performance issue got copyhardlinktree()

With the directory copy was added to avoid race issues, it wasn't noticed that
tar was recursing the directories and copying files too. This is completely
crazy when we hardlink those files in the next command.

Resolve the issue by telling tar not to recurse. This gives a significant
performance boost to various parts of the system (do_package for linux-yocto
256s -> 178s for example).

(From OE-Core rev: 8b90ed084d59b4e07aa547255d327b25cfb2ee2b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/path.py