You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qubes-installer-qubes-os/pungi/disable-efi.patch

13 lines
719 B

--- pungi-2.13/src/pypungi/__init__.py.orig 2013-12-07 23:25:33.790299986 +0100
+++ pungi-2.13/src/pypungi/__init__.py 2013-12-07 23:27:06.347452833 +0100
@@ -1143,7 +1143,8 @@
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':
+ if self.config.get('pungi', 'arch') == 'x86_64' and \
+ os.path.exists(os.path.join(self.topdir, 'images', 'efiboot.img')):
extraargs.extend(efibootargs)
isohybrid.append('-u')
if os.path.exists(os.path.join(self.topdir, 'images', 'macboot.img')):