git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5001a8e
)
base.bbclass: Add .tbz2 besides .tbz and .tar.bz2
author
Leon Woestenberg
<leon.woestenberg@gmail.com>
Sat, 1 Mar 2008 12:07:07 +0000
(12:07 +0000)
committer
Leon Woestenberg
<leon.woestenberg@gmail.com>
Sat, 1 Mar 2008 12:07:07 +0000
(12:07 +0000)
classes/base.bbclass
patch
|
blob
|
history
diff --git
a/classes/base.bbclass
b/classes/base.bbclass
index
089cd5a
..
7609c05
100644
(file)
--- a/
classes/base.bbclass
+++ b/
classes/base.bbclass
@@
-544,7
+544,7
@@
def oe_unpack_file(file, data, url = None):
cmd = 'tar x --no-same-owner -f %s' % file
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'):
+ elif file.endswith('.tbz') or file.endswith('.t
bz2') or file.endswith('.t
ar.bz2'):
cmd = 'bzip2 -dc %s | tar x --no-same-owner -f -' % file
elif file.endswith('.gz') or file.endswith('.Z') or file.endswith('.z'):
cmd = 'gzip -dc %s > %s' % (file, efile)