images dir already exists, we just need to set it

This commit is contained in:
Martin Gracik 2011-03-21 09:23:01 +01:00
parent c3e7664448
commit ef1ae59a8a

View File

@ -468,10 +468,9 @@ class Lorax(BaseLoraxClass):
"EFI/BOOT") "EFI/BOOT")
os.makedirs(self.outputtree.efibootdir) os.makedirs(self.outputtree.efibootdir)
# create imgdir # set imgdir
self.outputtree.imgdir = joinpaths(self.outputtree.root, self.outputtree.imgdir = joinpaths(self.outputtree.root,
"images") "images")
os.makedirs(self.outputtree.imgdir)
kernel = i.kernels[0] kernel = i.kernels[0]
initrd = i.initrds[0] initrd = i.initrds[0]