Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/catalyst:wip/mattst88 commit in: targets/support/
Date: Thu, 29 Oct 2020 21:00:43
Message-Id: 1603236395.9119f4ac49947825398f609627d03f4525aa004a.mattst88@gentoo
1 commit: 9119f4ac49947825398f609627d03f4525aa004a
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 20 23:03:02 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 20 23:26:35 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=9119f4ac
7
8 targets: Drop warning about no cdtar
9
10 Most platforms use grub now and don't need a cdtar. Also use double
11 brackets while we're here.
12
13 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
14
15 targets/support/bootloader-setup.sh | 6 +-----
16 1 file changed, 1 insertion(+), 5 deletions(-)
17
18 diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh
19 index a82b69dc..ea18f736 100755
20 --- a/targets/support/bootloader-setup.sh
21 +++ b/targets/support/bootloader-setup.sh
22 @@ -4,12 +4,8 @@ source ${clst_shdir}/support/functions.sh
23
24 # $1 is the destination root
25
26 -if [ -n "${clst_cdtar}" ]
27 -then
28 +if [[ -n ${clst_cdtar} ]]; then
29 extract_cdtar $1
30 -else
31 - #While this seems a little crazy, it's entirely possible the bootloader is just shoved in isoroot overlay
32 - echo "No cdtar and unable to auto generate boot loader files... good luck"
33 fi
34
35 extract_kernels $1/boot