From: Marcin Juszkiewicz Date: Wed, 5 Oct 2005 13:36:42 +0000 (+0000) Subject: Two changes to sourcepkg.class: X-Git-Tag: Release-2010-05/1~9453^2~3359^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e39e9a50ba61d155179b9a6f413d4f7a8bc58012;p=openembedded.git Two changes to sourcepkg.class: - added "autom4te.cache" to default EXCLUDE_FROM to not have configure tests in resulted diff - changed order of tar arguments to get it working with GNU tar 1.15.1 --- diff --git a/classes/sourcepkg.bbclass b/classes/sourcepkg.bbclass index 3eeff91333..390d3684d4 100644 --- a/classes/sourcepkg.bbclass +++ b/classes/sourcepkg.bbclass @@ -1,5 +1,5 @@ DEPLOY_DIR_SRC ?= "${DEPLOY_DIR}/source" -EXCLUDE_FROM ?= ".pc" +EXCLUDE_FROM ?= ".pc autom4te.cache" # used as part of a path. make sure it's set DISTRO ?= "openembedded" @@ -42,7 +42,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 + tar cvzf ${DEPLOY_DIR_SRC}/${P}.orig.tar.gz --exclude-from temp/exclude-from-file $src_tree cp -pPR $src_tree $src_tree.orig }