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.
---
src/pylorax/installtree.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/pylorax/installtree.py b/src/pylorax/installtree.py
index 4a63af5..0146d37 100644
--- a/src/pylorax/installtree.py
+++ b/src/pylorax/installtree.py
@@ -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)
--
1.7.4.1
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list