]> code.ossystems Code Review - openembedded-core.git/commit
sstate/path.py: Add copyhardlinktree() function and use for performance optimisation
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 3 Feb 2013 17:34:54 +0000 (17:34 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Feb 2013 13:11:19 +0000 (13:11 +0000)
commit8e373e69acac853213a62afb8bbdf0adc0c5045a
treefc15cfacd50fbf63167d308130c4629e8a04e8ac
parentef45d35c1d534770f0e0e6d3e897d3f6062147a2
sstate/path.py: Add copyhardlinktree() function and use for performance optimisation

Add a function which copys a tree as a set of hardlinks to the original
files, then use this in sstate to reduce some of the overhead of sstate
package creation since the file isn't actually copied.

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