functions/default.sh : Define LB_PRIMARY_BOOTLOADER at the Set_defaults function which it's the right place where to do it
This commit is contained in:
parent
489a09ba92
commit
01a9df8ce3
|
@ -537,6 +537,8 @@ Set_defaults ()
|
|||
esac
|
||||
fi
|
||||
|
||||
LB_PRIMARY_BOOTLOADER=$(echo "${LB_BOOTLOADERS}" | awk -F, '{ print $1 }')
|
||||
|
||||
# Setting checksums
|
||||
case "${LB_MODE}" in
|
||||
progress-linux)
|
||||
|
@ -845,9 +847,6 @@ Check_defaults ()
|
|||
fi
|
||||
fi
|
||||
|
||||
|
||||
LB_PRIMARY_BOOTLOADER=$(echo "${LB_BOOTLOADERS}" | awk -F, '{ print $1 }')
|
||||
|
||||
if [ "${LB_PRIMARY_BOOTLOADER}" = "syslinux" ]
|
||||
then
|
||||
# syslinux + fat or ntfs, or extlinux + ext[234] or btrfs
|
||||
|
|
Loading…
Reference in New Issue