qubes-installer-qubes-os/pungi/disable-efi.patch
Marek Marczykowski-Górecki 7fe06dd703 pungi-3.03
Based on fc20 package. Detailed changelog included in spec file.
2014-04-08 05:50:31 +02:00

13 lines
647 B
Diff

--- pungi-3.03/src/pypungi/__init__.py.orig 2013-12-07 23:25:33.790299986 +0100
+++ pungi-3.03/src/pypungi/__init__.py 2013-12-07 23:27:06.347452833 +0100
@@ -1528,7 +1528,8 @@
if self.tree_arch == 'i386' or self.tree_arch == 'x86_64':
extraargs.extend(x86bootargs)
- if self.tree_arch == 'x86_64':
+ if self.tree_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')):