Create the libdir in the initrd tree

Make sure we have the libdir created before we copy
the files to the initrd tree.
This commit is contained in:
Martin Gracik 2010-02-25 20:05:13 +01:00
parent ad726c68ec
commit 1a3d76fc5b
1 changed files with 3 additions and 0 deletions

View File

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