diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-05-04 14:39:55 +0100 |
---|---|---|
committer | Lyndon Brown <jnqnfe@gmail.com> | 2020-05-04 14:39:55 +0100 |
commit | 89ed6a54a10ba3b4ce781d8e1805f099b77cb7be (patch) | |
tree | 09a3ca35543b608c316be0cb70e60980515b47cc /functions | |
parent | 943c8fb5feb27cd60fd335f6e9e77524127f0f17 (diff) | |
download | vyos-live-build-89ed6a54a10ba3b4ce781d8e1805f099b77cb7be.tar.gz vyos-live-build-89ed6a54a10ba3b4ce781d8e1805f099b77cb7be.zip |
config: fix inadequate validation check
Gbp-Dch: Ignore
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/configuration.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/configuration.sh b/functions/configuration.sh index 5f5abb82b..b92b79110 100755 --- a/functions/configuration.sh +++ b/functions/configuration.sh @@ -696,7 +696,7 @@ Validate_config_dependencies () 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 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." |