[PATCH 1/4] Specify "cpio -H newc" instead of "cpio -c".

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux