]> code.ossystems Code Review - openembedded-core.git/commit
sstate.bbclass: make hard links for staging files
authorRobert Yang <liezhi.yang@windriver.com>
Sat, 27 Apr 2013 09:32:07 +0000 (05:32 -0400)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 8 Jul 2013 09:30:20 +0000 (10:30 +0100)
commit729439d3b00bab2d061bbc9d5d7a375eb014b192
treeb23ff9ed71ed3e18f51285b596e7d8bfc85b937e
parent94ba93a04099866af91bfc86dca0633e7fef8ffb
sstate.bbclass: make hard links for staging files

Make hard links for staging files instead of copy to save the disk space
(3G will be saved for a core-image-sato build), and it doesn't affect
much on the build time.

The following directories are affected:
1) The sysroot
2) The DEPLOY_DIR
3) The pkgdata

[YOCTO #4372]

(From OE-Core master rev: 5853e0f482b22258c909268fe71673a29e31989b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass
meta/lib/oe/path.py