initrdinject: Use full option versions for cpio
Makes it more self documenting IMO
This commit is contained in:
parent
d5af67d077
commit
309840b953
|
@ -30,7 +30,8 @@ def perform_initrd_injections(initrd, injections, scratchdir):
|
|||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE,
|
||||
cwd=tempdir)
|
||||
cpio_proc = subprocess.Popen(['cpio', '-o', '--null', '-Hnewc', '--quiet'],
|
||||
cpio_proc = subprocess.Popen(['cpio', '--create', '--null', '--quiet',
|
||||
'--format=newc'],
|
||||
stdin=find_proc.stdout,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE,
|
||||
|
|
Loading…
Reference in New Issue