From 1a3d76fc5b32e2eeac9e32e04e75165a0245a619 Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Thu, 25 Feb 2010 20:05:13 +0100 Subject: [PATCH] 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 file changed, 3 insertions(+) diff --git a/src/pylorax/images.py b/src/pylorax/images.py index faba9e60..dc0ebf50 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)