Specify "cpio -H newc" instead of "cpio -c".

The latter does not always work with every version of cpio, so it's too
unreliable to use.
This commit is contained in:
Chris Lumens 2011-02-10 14:21:24 -05:00
parent 1009ef9df0
commit 51addbb7b4

View File

@ -521,7 +521,7 @@ class LoraxInstallTree(BaseLoraxClass):
find = subprocess.Popen([self.lcmds.FIND, "."], stdout=subprocess.PIPE,
preexec_fn=chdir)
cpio = subprocess.Popen([self.lcmds.CPIO, "--quiet", "-c", "-o"],
cpio = subprocess.Popen([self.lcmds.CPIO, "--quiet", "-H", "newc", "-o"],
stdin=find.stdout, stdout=subprocess.PIPE,
preexec_fn=chdir)