diff options
author | Neil Williams <codehelp@debian.org> | 2015-11-06 15:11:39 +0000 |
---|---|---|
committer | Neil Williams <codehelp@debian.org> | 2015-11-06 15:11:39 +0000 |
commit | a33bdf051903cbb8d08cc7021c932e55642f9fb1 (patch) | |
tree | 426aa4e91b333742fc6ca6666ae3cd97fbdae0a9 /vmdebootstrap | |
parent | 82b17d5c1de05ec7f06c0ed0ff065282f2348034 (diff) | |
download | vmdebootstrap-a33bdf051903cbb8d08cc7021c932e55642f9fb1.tar.gz |
Allow arm64 without UEFI only if squash is set
UEFI files do not go inside the squashfs, configured
separately later.
Diffstat (limited to 'vmdebootstrap')
-rw-r--r-- | vmdebootstrap/uefi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vmdebootstrap/uefi.py b/vmdebootstrap/uefi.py index bf04ae8..674dd78 100644 --- a/vmdebootstrap/uefi.py +++ b/vmdebootstrap/uefi.py @@ -50,7 +50,7 @@ class Uefi(Base): 'You must specify use-uefi for esp-size to have effect') if self.settings['arch'] in arch_table and\ arch_table[self.settings['arch']]['exclusive'] and\ - not self.settings['use-uefi']: + (not self.settings['use-uefi'] and not self.settings['squash']): raise cliapp.AppException( 'Only UEFI is supported on %s' % self.settings['arch']) elif self.settings['use-uefi'] and self.settings['arch'] not in arch_table: |