summaryrefslogtreecommitdiff
path: root/openembedded/classes/sourcepkg.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded/classes/sourcepkg.bbclass')
-rw-r--r--openembedded/classes/sourcepkg.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/openembedded/classes/sourcepkg.bbclass b/openembedded/classes/sourcepkg.bbclass
index ee022c99d..3eeff9133 100644
--- a/openembedded/classes/sourcepkg.bbclass
+++ b/openembedded/classes/sourcepkg.bbclass
@@ -43,7 +43,7 @@ sourcepkg_do_create_orig_tgz(){
echo $src_tree
oenote "Creating .orig.tar.gz in ${DEPLOY_DIR_SRC}/${P}.orig.tar.gz"
tar cvzf ${DEPLOY_DIR_SRC}/${P}.orig.tar.gz $src_tree --exclude-from temp/exclude-from-file
- cp -a $src_tree $src_tree.orig
+ cp -pPR $src_tree $src_tree.orig
}
sourcepkg_do_archive_bb() {