Enable efi booting on x86_64 isos

This was requested by Peter Jones.
This commit is contained in:
Jesse Keating 2010-12-20 13:54:38 -08:00
parent 19993ef780
commit 5b0c9715a5
1 changed files with 5 additions and 0 deletions

View File

@ -963,6 +963,9 @@ class Pungi(pypungi.PungiBase):
x86bootargs = ['-b', 'isolinux/isolinux.bin', '-c', 'isolinux/boot.cat',
'-no-emul-boot', '-boot-load-size', '4', '-boot-info-table']
efibootargs = ['-eltorito-alt-boot', '-e', 'images/efiboot.img',
'-no-emul-boot']
ia64bootargs = ['-b', 'images/boot.img', '-no-emul-boot']
ppcbootargs = ['-part', '-hfs', '-r', '-l', '-sysid', 'PPC', '-no-desktop', '-allow-multidot', '-chrp-boot']
@ -1003,6 +1006,8 @@ class Pungi(pypungi.PungiBase):
if self.config.get('pungi', 'arch') == 'i386' or self.config.get('pungi', 'arch') == 'x86_64':
extraargs.extend(x86bootargs)
if self.config.get('pungi', 'arch') == 'x86_64':
extraargs.extend(efibootargs)
elif self.config.get('pungi', 'arch') == 'ia64':
extraargs.extend(ia64bootargs)
elif self.config.get('pungi', 'arch') == 'ppc':