1 |
Most platforms use grub now and don't need a cdtar. Also use double |
2 |
brackets while we're here. |
3 |
|
4 |
Signed-off-by: Matt Turner <mattst88@g.o> |
5 |
--- |
6 |
targets/support/bootloader-setup.sh | 6 +----- |
7 |
1 file changed, 1 insertion(+), 5 deletions(-) |
8 |
|
9 |
diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh |
10 |
index a82b69dc..ea18f736 100755 |
11 |
--- a/targets/support/bootloader-setup.sh |
12 |
+++ b/targets/support/bootloader-setup.sh |
13 |
@@ -4,12 +4,8 @@ source ${clst_shdir}/support/functions.sh |
14 |
|
15 |
# $1 is the destination root |
16 |
|
17 |
-if [ -n "${clst_cdtar}" ] |
18 |
-then |
19 |
+if [[ -n ${clst_cdtar} ]]; then |
20 |
extract_cdtar $1 |
21 |
-else |
22 |
- #While this seems a little crazy, it's entirely possible the bootloader is just shoved in isoroot overlay |
23 |
- echo "No cdtar and unable to auto generate boot loader files... good luck" |
24 |
fi |
25 |
|
26 |
extract_kernels $1/boot |
27 |
-- |
28 |
2.26.2 |