From d13f13e92fbbfa88da888289ce7243633b00a522 Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Thu, 25 Feb 2010 20:26:54 +0100 Subject: [PATCH] Make sure we create the usr/lib directory --- src/pylorax/images.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pylorax/images.py b/src/pylorax/images.py index dc0ebf50..0764432f 100644 --- a/src/pylorax/images.py +++ b/src/pylorax/images.py @@ -115,8 +115,9 @@ export PS1 PATH with open(profile, "w") as f: f.write(text) - # create the lib directory + # create the lib directories os.mkdir(os.path.join(self.dsttree, self.conf.libdir)) + os.mkdir(os.path.join(self.dsttree, "usr", self.conf.libdir)) # XXX def get_kernel_modules(self, kernel, modset):