diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2010-12-06 20:26:08 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-25 15:58:42 +0000 |
commit | 0d0279a88141616e08515916f4a0e6d9a3e326dd (patch) | |
tree | ec608530562b66562cb63c4915992bd41e2b9250 /scripts | |
parent | aba80f536f2259df48dc7f8f8c52e5937c296c63 (diff) | |
download | poky-0d0279a88141616e08515916f4a0e6d9a3e326dd.tar.gz |
package.bbclass: Use hard link for package split instead of copy
When doing package split, we use hard link instead of copy, which can
save about 10% disk space when building poky-image-minimal.
If fail, it will fall back to the copyfile function.
[Updated by Richard to use os.link and avoid an exec() call per file]
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions