From e39e9a50ba61d155179b9a6f413d4f7a8bc58012 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 5 Oct 2005 13:36:42 +0000 Subject: [PATCH] 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 --- classes/sourcepkg.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } -- 2.39.5