diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-02-08 22:16:41 -0600 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-02-09 22:46:30 +0000 |
commit | d3d236b2bf2784d7454dcb7fce595b6aac6967cd (patch) | |
tree | 0c8f5f7a6b8ce9e6a3b20650bc2bd8f739d51da9 /meta/classes/populate_sdk_deb.bbclass | |
parent | 3e6d91ece0556fa1c9c84bef60678d8148b789f4 (diff) | |
download | ast2050-yocto-poky-d3d236b2bf2784d7454dcb7fce595b6aac6967cd.zip ast2050-yocto-poky-d3d236b2bf2784d7454dcb7fce595b6aac6967cd.tar.gz |
Misc hard link fixes
I searched the various classes and looked for copies that should attempt to
preserve hardlinks. This fixes the majority of this copies by switching to
using tar as the copy method. It also has the side effect of preserving sparse
files.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/classes/populate_sdk_deb.bbclass')
-rw-r--r-- | meta/classes/populate_sdk_deb.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_deb.bbclass b/meta/classes/populate_sdk_deb.bbclass index d563c28..a5b6384 100644 --- a/meta/classes/populate_sdk_deb.bbclass +++ b/meta/classes/populate_sdk_deb.bbclass @@ -6,7 +6,7 @@ populate_sdk_post_deb () { local target_rootfs=$1 - cp -r ${STAGING_ETCDIR_NATIVE}/apt ${target_rootfs}/etc + tar -cf -C ${STAGING_ETCDIR_NATIVE} -ps apt | tar -xf - -C ${target_rootfs}/etc } fakeroot populate_sdk_deb () { |