From a7fb7ae762dd713a8212a42587583cf1b638e80e Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Sat, 23 Jan 2016 17:15:23 +0000 Subject: Fail if extlinux requested with btrfs --- bin/vmdebootstrap | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin') 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) -- cgit v1.2.1