summaryrefslogtreecommitdiff
path: root/vmdebootstrap/grub.py
diff options
context:
space:
mode:
authorNeil Williams <codehelp@debian.org>2016-07-31 22:23:18 +0100
committerNeil Williams <codehelp@debian.org>2016-07-31 22:23:18 +0100
commit479f2395ba42813e284a15e442c38b8536155ce8 (patch)
treec49d7d93f896a2285fecc7d9d14cd21a2ab7370a /vmdebootstrap/grub.py
parent5c0f1d11fb1bdeceffc0aa28e19673c82663a9ab (diff)
downloadvmdebootstrap-479f2395ba42813e284a15e442c38b8536155ce8.tar.gz
Update and expand the build tests
Still issues to fix with some of the scenarios
Diffstat (limited to 'vmdebootstrap/grub.py')
-rw-r--r--vmdebootstrap/grub.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/vmdebootstrap/grub.py b/vmdebootstrap/grub.py
index 5c50b12..ad9f293 100644
--- a/vmdebootstrap/grub.py
+++ b/vmdebootstrap/grub.py
@@ -147,5 +147,6 @@ class GrubHandler(Base):
def grub_packages(self):
if self.settings['grub'] and not self.settings['use-uefi']:
- return ['grub-pc']
+ if self.settings['arch'] in ['i386', 'amd64']:
+ return ['grub-pc']
return []