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 > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 02-25-2010, 06:08 PM
Martin Gracik
 
Default Create the libdir in the initrd tree

Make sure we have the libdir created before we copy
the files to the initrd tree.
---
src/pylorax/images.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/pylorax/images.py b/src/pylorax/images.py
index faba9e6..dc0ebf5 100644
--- a/src/pylorax/images.py
+++ b/src/pylorax/images.py
@@ -115,6 +115,9 @@ export PS1 PATH
with open(profile, "w") as f:
f.write(text)

+ # create the lib directory
+ os.mkdir(os.path.join(self.dsttree, self.conf.libdir))
+
# XXX
def get_kernel_modules(self, kernel, modset):
moddir = os.path.join(self.const.MODDIR, kernel.version)
--
1.6.6

_______________________________________________
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 04:09 PM.

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