commit:     a12ef0b5e8610aa41583c478ed9e01cd69233ad2
Author:     Ian Jordan <immoloism <AT> gmail <DOT> com>
AuthorDate: Wed Feb  4 11:49:17 2026 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Feb  4 11:49:17 2026 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=a12ef0b5

Add Accessibility to GRUB

This patch adds a third option under GRUB boot to start espeakup

This requires a new tagged release of livecd-tools to fully work.

I looked into add braille support as well, but it seems to cause
more issues than it solves. Maybe with some feedback with users
that need it, we can look again at this.

I play to add support to other bootloader at a later date when
I can gain access to hardware at home.

Signed-off-by: Ian Jordan <immoloism <AT> gmail.com>

 targets/support/iso-bootloader-setup.sh | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/targets/support/iso-bootloader-setup.sh 
b/targets/support/iso-bootloader-setup.sh
index 78df72a2..3b32d583 100755
--- a/targets/support/iso-bootloader-setup.sh
+++ b/targets/support/iso-bootloader-setup.sh
@@ -143,7 +143,17 @@ case ${clst_hostarch} in
                        else
                                echo "  linux ${kern_subdir}/${x} 
${default_append_line[@]} docache" >> ${iacfg}
                        fi
-
+                       echo "  initrd ${kern_subdir}/${x}.igz" >> ${iacfg}
+                       echo "}" >> ${iacfg}
+                       echo "" >> ${iacfg}
+                       echo "menuentry 'Boot LiveCD (kernel: ${x}) 
(accessibility)' --class gnu-linux --class os {"  >> ${iacfg}
+                       if [ ${distkernel} = "yes" ]
+                       then
+                               echo "  search --no-floppy --set=root -l 
${clst_iso_volume_id}" >> ${iacfg}
+                               echo "  linux ${kern_subdir}/${x} 
${default_dracut_append_line[@]} dospeakup" >> ${iacfg}
+                       else
+                               echo "  linux ${kern_subdir}/${x} 
${default_append_line[@]} dospeakup" >> ${iacfg}
+                       fi
                        echo "  initrd ${kern_subdir}/${x}.igz" >> ${iacfg}
                        echo "}" >> ${iacfg}
                        if [ -n "${kernel_console}" ]

Reply via email to