summaryrefslogtreecommitdiffstats
path: root/meta/classes/populate_sdk_deb.bbclass
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-02-08 22:16:41 -0600
committerRichard Purdie <rpurdie@linux.intel.com>2011-02-09 22:46:30 +0000
commitd3d236b2bf2784d7454dcb7fce595b6aac6967cd (patch)
tree0c8f5f7a6b8ce9e6a3b20650bc2bd8f739d51da9 /meta/classes/populate_sdk_deb.bbclass
parent3e6d91ece0556fa1c9c84bef60678d8148b789f4 (diff)
downloadpoky-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.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_deb.bbclass b/meta/classes/populate_sdk_deb.bbclass
index d563c28674..a5b6384f7e 100644
--- a/meta/classes/populate_sdk_deb.bbclass
+++ b/meta/classes/populate_sdk_deb.bbclass
@@ -6,7 +6,7 @@ populate_sdk_post_deb () {
6 6
7 local target_rootfs=$1 7 local target_rootfs=$1
8 8
9 cp -r ${STAGING_ETCDIR_NATIVE}/apt ${target_rootfs}/etc 9 tar -cf -C ${STAGING_ETCDIR_NATIVE} -ps apt | tar -xf - -C ${target_rootfs}/etc
10} 10}
11 11
12fakeroot populate_sdk_deb () { 12fakeroot populate_sdk_deb () {