[Vmdebootstrap-devel] [PATCH] install grub-pc instead of grub2

Jan Gerber j at mailb.org
Thu Apr 9 14:44:27 UTC 2015


Ubuntu only has grub-pc in its main repository while the grub2 package
is in universe. To support creating Ubuntu images install grub-pc.
This works for both Debian and Ubuntu.
---
 vmdebootstrap | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vmdebootstrap b/vmdebootstrap
index a9127ae..63ade3a 100755
--- a/vmdebootstrap
+++ b/vmdebootstrap
@@ -418,7 +418,7 @@ class VmDebootstrap(cliapp.Application):  # pylint: disable=too-many-public-meth
             include.append('acpid')
 
         if self.settings['grub']:
-            include.append('grub2')
+            include.append('grub-pc')
 
         if not self.settings['no-kernel']:
             if self.settings['arch'] == 'i386':
-- 
2.1.4




More information about the Vmdebootstrap-devel mailing list