Create images directory in outputtree

This commit is contained in:
Martin Gracik 2011-03-17 13:04:11 +01:00
parent dc7b2e28dc
commit 4486889792

View File

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