FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Laptop

 
 
LinkBack Thread Tools
 
Old 04-06-2011, 08:13 PM
Chris Lumens
 
Default 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
 

Thread Tools




All times are GMT. The time now is 02:57 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org