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/sourcepkg.bbclass | |
parent | 3e6d91ece0556fa1c9c84bef60678d8148b789f4 (diff) | |
download | 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/sourcepkg.bbclass')
-rw-r--r-- | meta/classes/sourcepkg.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sourcepkg.bbclass b/meta/classes/sourcepkg.bbclass index f738553039..f12a1955d4 100644 --- a/meta/classes/sourcepkg.bbclass +++ b/meta/classes/sourcepkg.bbclass | |||
@@ -41,7 +41,7 @@ sourcepkg_do_create_orig_tgz(){ | |||
41 | echo $src_tree | 41 | echo $src_tree |
42 | oenote "Creating .orig.tar.gz in ${DEPLOY_DIR_SRC}/${P}.orig.tar.gz" | 42 | oenote "Creating .orig.tar.gz in ${DEPLOY_DIR_SRC}/${P}.orig.tar.gz" |
43 | tar cvzf ${DEPLOY_DIR_SRC}/${P}.orig.tar.gz --exclude-from temp/exclude-from-file $src_tree | 43 | tar cvzf ${DEPLOY_DIR_SRC}/${P}.orig.tar.gz --exclude-from temp/exclude-from-file $src_tree |
44 | cp -pPR $src_tree $src_tree.orig | 44 | tar -cf - -C $src_tree -ps . | tar -xf - -C $src_tree.orig |
45 | } | 45 | } |
46 | 46 | ||
47 | sourcepkg_do_archive_bb() { | 47 | sourcepkg_do_archive_bb() { |