[oe-commits] org.oe.dev base.bbclass: handle tar.Z archives - close #1433

Tom commit openembedded-commits at lists.openembedded.org
Tue Sep 26 09:09:17 UTC 2006


base.bbclass: handle tar.Z archives - close #1433

Author: Tom
Branch: org.openembedded.dev
Revision: af3514ac399dfad05cfb417dadad1316f57a1f3c
ViewMTN: http://monotone.openembedded.org/revision.psp?id=af3514ac399dfad05cfb417dadad1316f57a1f3c
Files:
1
classes/base.bbclass
Diffs:

#
# mt diff -rde17215ca0ec2c4f638399b95baf36a6e60b7bd4 -raf3514ac399dfad05cfb417dadad1316f57a1f3c
#
# 
# 
# patch "classes/base.bbclass"
#  from [1c1c031502feebb785c447eabb74df68a3eea449]
#    to [d664dd9ce4a80554d59eff0b9cc64ca514542589]
# 
============================================================
--- classes/base.bbclass	1c1c031502feebb785c447eabb74df68a3eea449
+++ classes/base.bbclass	d664dd9ce4a80554d59eff0b9cc64ca514542589
@@ -394,7 +394,7 @@ def oe_unpack_file(file, data, url = Non
 	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






More information about the Openembedded-commits mailing list