[lorax] Create the libdir in the initrd tree

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

 



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@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