Most platforms use grub now and don't need a cdtar. Also use double brackets while we're here.
Signed-off-by: Matt Turner <matts...@gentoo.org> --- targets/support/bootloader-setup.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh index a82b69dc..ea18f736 100755 --- a/targets/support/bootloader-setup.sh +++ b/targets/support/bootloader-setup.sh @@ -4,12 +4,8 @@ source ${clst_shdir}/support/functions.sh # $1 is the destination root -if [ -n "${clst_cdtar}" ] -then +if [[ -n ${clst_cdtar} ]]; then extract_cdtar $1 -else - #While this seems a little crazy, it's entirely possible the bootloader is just shoved in isoroot overlay - echo "No cdtar and unable to auto generate boot loader files... good luck" fi extract_kernels $1/boot -- 2.26.2