Create images directory in outputtree

This commit is contained in:
Martin Gracik 2011-03-17 13:04:11 +01:00
parent 76ba5755fc
commit f5258e7266

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]