treeinfo has to be addressed as self.treeinfo

This commit is contained in:
Martin Gracik 2011-03-15 10:54:25 +01:00
parent 682515da71
commit 7bfb602ff4

View File

@ -529,9 +529,9 @@ class X86(object):
if self.basearch == "x86_64":
section = "images-xen"
data = {"kernel": joinpaths(PXEBOOTDIR, kernel.fname)}
treeinfo.add_section(section, data)
self.treeinfo.add_section(section, data)
data = {"initrd": joinpaths(PXEBOOTDIR, initrd.fname)}
treeinfo.add_section(section, data)
self.treeinfo.add_section(section, data)
def create_boot(self, efiboot=None):
# define efiargs and efigraft