From 51fbf45dd70756b6c1a3d76f5caa68eef7e065d5 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Thu, 16 Feb 2017 14:22:27 +0000 Subject: stage2: Manually install /etc/default/console-setup debconf alone does not seem to work --- stage2/01-sys-tweaks/01-run.sh | 1 + stage2/01-sys-tweaks/files/console-setup | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 stage2/01-sys-tweaks/files/console-setup (limited to 'stage2') diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index 69fa107..c10705c 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -9,6 +9,7 @@ install -m 644 files/ttyoutput.conf ${ROOTFS_DIR}/etc/systemd/system/rc-local. install -m 644 files/50raspi ${ROOTFS_DIR}/etc/apt/apt.conf.d/ +install -m 644 files/console-setup ${ROOTFS_DIR}/etc/default/ on_chroot << EOF systemctl disable hwclock.sh diff --git a/stage2/01-sys-tweaks/files/console-setup b/stage2/01-sys-tweaks/files/console-setup new file mode 100644 index 0000000..6508cdc --- /dev/null +++ b/stage2/01-sys-tweaks/files/console-setup @@ -0,0 +1,16 @@ +# CONFIGURATION FILE FOR SETUPCON + +# Consult the console-setup(5) manual page. + +ACTIVE_CONSOLES="/dev/tty[1-6]" + +CHARMAP="UTF-8" + +CODESET="guess" +FONTFACE="" +FONTSIZE="" + +VIDEOMODE= + +# The following is an example how to use a braille font +# FONT='lat9w-08.psf.gz brl-8x8.psf' -- cgit v1.2.3