Add the xen section to treeinfo on x86_64
This commit is contained in:
parent
55fd24ea86
commit
566c992653
@ -522,6 +522,14 @@ class X86(object):
|
||||
data = {"boot.iso": joinpaths(IMAGESDIR, "boot.iso")}
|
||||
self.treeinfo.add_section(section, data)
|
||||
|
||||
# create images-xen section on x86_64
|
||||
if self.basearch == "x86_64":
|
||||
section = "images-xen"
|
||||
data = {"kernel": joinpaths(PXEBOOTDIR, kernel.fname)}
|
||||
treeinfo.add_section(section, data)
|
||||
data = {"initrd": joinpaths(PXEBOOTDIR, initrd.fname)}
|
||||
treeinfo.add_section(section, data)
|
||||
|
||||
def create_boot(self, efiboot=None):
|
||||
# define efiargs and efigraft
|
||||
efiargs, efigraft = [], []
|
||||
|
Loading…
Reference in New Issue
Block a user