diff options
author | Neil Williams <codehelp@debian.org> | 2016-01-23 17:15:23 +0000 |
---|---|---|
committer | Neil Williams <codehelp@debian.org> | 2016-01-23 17:15:23 +0000 |
commit | a7fb7ae762dd713a8212a42587583cf1b638e80e (patch) | |
tree | 48f14362d8e0ad6c5793422eccf1a42d7a293167 /bin | |
parent | 57ed283dc22e650e87293854cea6f5a4e4fa9e6c (diff) | |
download | vmdebootstrap-a7fb7ae762dd713a8212a42587583cf1b638e80e.tar.gz |
Fail if extlinux requested with btrfs
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/vmdebootstrap | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/vmdebootstrap b/bin/vmdebootstrap index 0fbd91e..30fca9d 100755 --- a/bin/vmdebootstrap +++ b/bin/vmdebootstrap @@ -174,6 +174,10 @@ class VmDebootstrap(cliapp.Application): # pylint: disable=too-many-public-meth 'Disabling systemd-networkd for jessie and later ' 'requires updating the initramfs.') + if self.settings['roottype'] == 'btrfs' and\ + self.settings['extlinux']: + raise cliapp.AppException( + 'extlinux is not yet supported on btrfs. Use grub.') uefi = self.handlers[Uefi.name] oldstable = distro.was_oldstable(datetime.date(2015, 4, 26)) uefi.check_settings(oldstable=oldstable) |