commit: 4db324d29474f19779b027e9b06e0516a85453b6
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 20 23:03:02 2020 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Oct 20 23:20:41 2020 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=4db324d2
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 <AT> 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