]> 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)
committerSaul Wold <sgw@linux.intel.com>
Wed, 1 May 2013 18:09:17 +0000 (11:09 -0700)
commit5853e0f482b22258c909268fe71673a29e31989b
tree1a04b86810547ff3dcdb24a4c3028db5342d942b
parentf4b451c8ad8f857b1789d75d68ce8ea8fc73542e
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]

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