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

[lorax] 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


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