diff options
author | Neil Williams <codehelp@debian.org> | 2015-09-13 11:06:12 +0100 |
---|---|---|
committer | Neil Williams <codehelp@debian.org> | 2015-09-13 11:10:25 +0100 |
commit | 9aa3b05eb60c6af8678f38ba33ef04f52fb64a36 (patch) | |
tree | 9dae885945e0504fec4cfa665ff73b27438f5807 | |
parent | 7488233919c0df51da7faa71697959b7bbcc0be7 (diff) | |
download | vmdebootstrap-9aa3b05eb60c6af8678f38ba33ef04f52fb64a36.tar.gz |
Ensure wheezy amd64 warning is only used with uefi
Closes: #798225
-rwxr-xr-x | vmdebootstrap | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vmdebootstrap b/vmdebootstrap index 78f0982..138d8a6 100755 --- a/vmdebootstrap +++ b/vmdebootstrap @@ -263,7 +263,7 @@ class VmDebootstrap(cliapp.Application): # pylint: disable=too-many-public-meth # wheezy (which became oldstable on 04/25/2015) only had amd64 uefi if self.was_oldstable(datetime.date(2015, 4, 26)): - if self.settings['arch'] != 'amd64': + if self.settings['use-uefi'] and self.settings['arch'] != 'amd64': raise cliapp.AppException( 'Only amd64 supports UEFI in Wheezy') |