commit:     6976c5fe167b7949c8a33edace8cd93fd87e8dcd
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 29 01:07:33 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Jul 29 01:07:33 2021 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=6976c5fe

targets: Remove dead custom_kopts variable

It looks like this has been dead since 2005.

Closes: https://bugs.gentoo.org/804591
Fixes: 1fcca247 ("Removed these as they are moved to the appropriate target 
directories")
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 targets/support/bootloader-setup.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/targets/support/bootloader-setup.sh 
b/targets/support/bootloader-setup.sh
index 4cfa61eb..a998a420 100755
--- a/targets/support/bootloader-setup.sh
+++ b/targets/support/bootloader-setup.sh
@@ -31,7 +31,7 @@ case ${clst_fstype} in
 esac
 
 
-default_append_line=(root=/dev/ram0 init=/linuxrc ${cmdline_opts[@]} 
${custom_kopts} cdroot)
+default_append_line=(root=/dev/ram0 init=/linuxrc ${cmdline_opts[@]} cdroot)
 
 case ${clst_hostarch} in
        alpha)
@@ -99,7 +99,6 @@ case ${clst_hostarch} in
                for x in ${clst_boot_kernel}
                do
                        eval "kernel_console=\$clst_boot_kernel_${x}_console"
-                       eval custom_kopts=\$${x}_kernelopts
 
                        echo "menuentry 'Boot LiveCD (kernel: ${x})' --class 
gnu-linux --class os {"  >> ${iacfg}
                        echo "  linux ${kern_subdir}/${x} 
${default_append_line[@]}" >> ${iacfg}

Reply via email to