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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 May 2013 16:41:53 +0000 (17:41 +0100)
commitf2bb0b92460a585396de379c210eeea6ebc01240
tree31dd2866d508b57262741bcfbba025d7eacb2481
parentddef5d1093aa3b40b5e5c0bba951ead3c6941199
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 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