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 eefd77e1b1
commit 84f00068e3

View File

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