Added font to grub options and replace echo debug with heredoc.

This commit is contained in:
cyteen 2026-03-17 13:08:41 +00:00
parent 57f7d3beb0
commit f2fd24f249
1 changed files with 10 additions and 6 deletions

View File

@ -162,13 +162,17 @@ echo "[*] Generating GRUB configuration for pool: $ZBM_POOL..."
# FIXME: If this where placed in /etc/default/zfsbootmenu/ it could be sourced here rather than hardcoded here. Much like /etc/default/grub
# The scripts is separated from the settings. Maybe something I would do if I were packaging zbm.
GRUB_DEFAULTS='loglevel=4 zbm.import_delay=5 video=vesafb:1920x1200-32@60 rd.vconsole.keymap=uk'
GRUB_DEFAULTS='loglevel=4 zbm.import_delay=5 video=vesafb:1920x1200-32@60 rd.vconsole.font=ter-v20b rd.vconsole.keymap=uk'
echo "DEBUG: ZBM_SOURCE='$ZBM_SOURCE'"
echo "DEBUG: ZBM_DATASET='$ZBM_DATASET'"
echo "DEBUG: ZBM_DATASET_PATH='$ZBM_DATASET_PATH'"
echo "DEBUG: REL_PATH='$REL_PATH'"
echo "DEBUG: ZBM_DIR='$ZBM_DIR'"
cat <<DEBUG
DEBUG: ZBM_SOURCE=$ZBM_SOURCE
DEBUG: ZBM_DATASET=$ZBM_DATASET
DEBUG: ZBM_DATASET_PATH=$ZBM_DATASET_PATH
DEBUG: REL_PATH=$REL_PATH
DEBUG: ZBM_DIR=$ZBM_DIR
DEBUG
conf_print_grub_menu_zbm() {
cat <<EOF