mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
base.bbclass: Add unpack handling for .jar files (from OE)
This commit is contained in:
@@ -644,8 +644,8 @@ def oe_unpack_file(file, data, url = None):
|
||||
cmd = 'gzip -dc %s > %s' % (file, efile)
|
||||
elif file.endswith('.bz2'):
|
||||
cmd = 'bzip2 -dc %s > %s' % (file, efile)
|
||||
elif file.endswith('.zip'):
|
||||
cmd = 'unzip -q'
|
||||
elif file.endswith('.zip') or file.endswith('.jar'):
|
||||
cmd = 'unzip -q -o'
|
||||
(type, host, path, user, pswd, parm) = bb.decodeurl(url)
|
||||
if 'dos' in parm:
|
||||
cmd = '%s -a' % cmd
|
||||
|
||||
Reference in New Issue
Block a user