add Terminus to FONT selector menu.

This commit is contained in:
Tobias Powalowski 2023-01-26 19:54:56 +01:00
parent f3c4e12c68
commit 6a2b249579
2 changed files with 11 additions and 6 deletions

View file

@ -7,7 +7,7 @@ Highlights:
Environment changes: Environment changes:
- show full initrd line in grub menu - show full initrd line in grub menu
- added fbset and terminus-font - added fbset and terminus-font
- removed zsh and grml-zsh-config - removed pcre, zsh and grml-zsh-config
- use color for bash prompt and ls output - use color for bash prompt and ls output
update-installer: update-installer:
- added network check - added network check
@ -15,7 +15,7 @@ setup:
- major cleanup of blockdevice code - major cleanup of blockdevice code
- major cleanup of mountpoints code - major cleanup of mountpoints code
- outsourced help texts to files - outsourced help texts to files
- added new help texts for partitioning GUID and BIOS/MBR - added new help texts for partitioning GUID/GPT and BIOS/MBR
- new systemd compliant mounting dialogs with /efi or /boot as ESP - new systemd compliant mounting dialogs with /efi or /boot as ESP
- don't format already existing ESP - don't format already existing ESP
- don't format already existing swap partition - don't format already existing swap partition
@ -25,7 +25,7 @@ setup:
- new efibootmgr routine - new efibootmgr routine
- disable unsafe menu entries on installed system - disable unsafe menu entries on installed system
- don't show install message on installed system - don't show install message on installed system
- added new menu title if running on installed system - added new menu title, if running on installed system
- fixed automounted ESP and /boot detection on installed systems - fixed automounted ESP and /boot detection on installed systems
- don't ask for network, sources and mkfs on installed sytems - don't ask for network, sources and mkfs on installed sytems
- fix LANG= add .UTF-8 to parameter - fix LANG= add .UTF-8 to parameter

View file

@ -40,11 +40,16 @@ _do_vconsole() {
_set_vconsole() { _set_vconsole() {
if grep -qw 'sun32' /etc/vconsole.conf; then if grep -qw 'sun32' /etc/vconsole.conf; then
_dialog --infobox "Detected big screen size, using 32 font size now..." 3 60 _FONTS="latarcyrheb-sun32 Worldwide ter-v32n Terminus"
_FONT="latarcyrheb-sun32" _CANCEL=
#shellcheck disable=SC2086
_dialog --menu "\n Select Console Font:\n\n Font Name Region" 12 40 14 ${_FONTS} 2>${_ANSWER} || _CANCEL=1
_abort_dialog || return 1
#shellcheck disable=SC2086
_FONT=$(cat ${_ANSWER})
sleep 2 sleep 2
else else
_FONTS="latarcyrheb-sun16 Worldwide eurlatgr Europe" _FONTS="latarcyrheb-sun16 Worldwide eurlatgr Europe ter-v16n Terminus"
_CANCEL= _CANCEL=
#shellcheck disable=SC2086 #shellcheck disable=SC2086
_dialog --menu "\n Select Console Font:\n\n Font Name Region" 12 40 14 ${_FONTS} 2>${_ANSWER} || _CANCEL=1 _dialog --menu "\n Select Console Font:\n\n Font Name Region" 12 40 14 ${_FONTS} 2>${_ANSWER} || _CANCEL=1