Gentoo Archives: gentoo-catalyst

From: Matt Turner <mattst88@g.o>
To: gentoo-catalyst@l.g.o
Cc: Matt Turner <mattst88@g.o>
Subject: [gentoo-catalyst] [PATCH 1/2] targets: Remove dead custom_kopts variable
Date: Thu, 29 Jul 2021 01:24:45
Message-Id: 20210729012435.560803-1-mattst88@gentoo.org
1 It looks like this has been dead since 2005.
2
3 Closes: https://bugs.gentoo.org/804591
4 Fixes: 1fcca247 ("Removed these as they are moved to the appropriate target directories")
5 Signed-off-by: Matt Turner <mattst88@g.o>
6 ---
7 targets/support/bootloader-setup.sh | 3 +--
8 1 file changed, 1 insertion(+), 2 deletions(-)
9
10 diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh
11 index 4cfa61eb..a998a420 100755
12 --- a/targets/support/bootloader-setup.sh
13 +++ b/targets/support/bootloader-setup.sh
14 @@ -31,7 +31,7 @@ case ${clst_fstype} in
15 esac
16
17
18 -default_append_line=(root=/dev/ram0 init=/linuxrc ${cmdline_opts[@]} ${custom_kopts} cdroot)
19 +default_append_line=(root=/dev/ram0 init=/linuxrc ${cmdline_opts[@]} cdroot)
20
21 case ${clst_hostarch} in
22 alpha)
23 @@ -99,7 +99,6 @@ case ${clst_hostarch} in
24 for x in ${clst_boot_kernel}
25 do
26 eval "kernel_console=\$clst_boot_kernel_${x}_console"
27 - eval custom_kopts=\$${x}_kernelopts
28
29 echo "menuentry 'Boot LiveCD (kernel: ${x})' --class gnu-linux --class os {" >> ${iacfg}
30 echo " linux ${kern_subdir}/${x} ${default_append_line[@]}" >> ${iacfg}
31 --
32 2.31.1

Replies