config: fix inadequate validation check

Gbp-Dch: Ignore
This commit is contained in:
Lyndon Brown 2020-05-04 14:39:55 +01:00
parent 943c8fb5fe
commit 89ed6a54a1
1 changed files with 1 additions and 1 deletions

View File

@ -696,7 +696,7 @@ Validate_config_dependencies ()
fi fi
fi fi
if [ "${LB_FIRST_BOOTLOADER}" = "syslinux" ]; then if In_list "syslinux" $LB_BOOTLOADERS; then
# syslinux + fat or ntfs, or extlinux + ext[234] or btrfs # syslinux + fat or ntfs, or extlinux + ext[234] or btrfs
if ! In_list "${LB_BINARY_FILESYSTEM}" fat16 fat32 ntfs ext2 ext3 ext4 btrfs; then if ! In_list "${LB_BINARY_FILESYSTEM}" fat16 fat32 ntfs ext2 ext3 ext4 btrfs; then
Echo_warning "You have selected values of LB_BOOTLOADERS and LB_BINARY_FILESYSTEM which are incompatible - the syslinux family only support FAT, NTFS, ext[234] or btrfs filesystems." Echo_warning "You have selected values of LB_BOOTLOADERS and LB_BINARY_FILESYSTEM which are incompatible - the syslinux family only support FAT, NTFS, ext[234] or btrfs filesystems."