Make cpio listing more platform compatible.

This commit is contained in:
Bastian Kleineidam 2012-05-23 05:34:41 +02:00
parent 40639cb172
commit 9a8ef2678d
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ def extract_cpio (archive, compression, cmd, **kwargs):
def list_cpio (archive, compression, cmd, **kwargs):
"""List a CPIO archive."""
cmdlist = [cmd, '-t']
cmdlist = [cmd, '-i', '-t']
if kwargs['verbose']:
cmdlist.append('-v')
cmdlist.extend(['-F', archive])