summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Walsh <tom@openhardware.net>2006-09-26 09:02:59 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2006-09-26 09:02:59 +0000
commitc011086891b789503fe0e4f92a12f52fc5c7f250 (patch)
tree470a718e5a820ec4a0afab9ba5b0c30ab1f98ba1
parent2f1de0170fca203b0715f51689b38080314b8a78 (diff)
base.bbclass: handle tar.Z archives - close #1433
-rw-r--r--classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 36caea221f..0c62568107 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -394,7 +394,7 @@ def oe_unpack_file(file, data, url = None):
cmd = None
if file.endswith('.tar'):
cmd = 'tar x --no-same-owner -f %s' % file
- elif file.endswith('.tgz') or file.endswith('.tar.gz'):
+ elif file.endswith('.tgz') or file.endswith('.tar.gz') or file.endswith('.tar.Z'):
cmd = 'tar xz --no-same-owner -f %s' % file
elif file.endswith('.tbz') or file.endswith('.tar.bz2'):
cmd = 'bzip2 -dc %s | tar x --no-same-owner -f -' % file