aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2020-10-20 16:03:02 -0700
committerMatt Turner <mattst88@gentoo.org>2020-10-20 16:26:35 -0700
commit9119f4ac49947825398f609627d03f4525aa004a (patch)
treebf423617f54d65655675ac1db81e35032a654c98
parenttargets: Move create_handbook_icon() to its use (diff)
downloadcatalyst-9119f4ac.tar.gz
catalyst-9119f4ac.tar.bz2
catalyst-9119f4ac.zip
targets: Drop warning about no cdtar
Most platforms use grub now and don't need a cdtar. Also use double brackets while we're here. Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rwxr-xr-xtargets/support/bootloader-setup.sh6
1 files changed, 1 insertions, 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