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,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE,
|
stderr=subprocess.PIPE,
|
||||||
cwd=tempdir)
|
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,
|
stdin=find_proc.stdout,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE,
|
stderr=subprocess.PIPE,
|
||||||
|
|
Loading…
Reference in New Issue