aboutsummaryrefslogtreecommitdiffstats
path: root/stage2
diff options
context:
space:
mode:
authorSerge Schneider <[email protected]>2017-02-16 14:22:27 +0000
committerSerge Schneider <[email protected]>2017-03-06 09:27:48 +0000
commit51fbf45dd70756b6c1a3d76f5caa68eef7e065d5 (patch)
treea2b22950c8bbbb5885bc8e46ce1d3e6a48186ea8 /stage2
parent8f017cb69ab1dc6d380d289b300060626435718c (diff)
stage2: Manually install /etc/default/console-setup
debconf alone does not seem to work
Diffstat (limited to 'stage2')
-rwxr-xr-xstage2/01-sys-tweaks/01-run.sh1
-rw-r--r--stage2/01-sys-tweaks/files/console-setup16
2 files changed, 17 insertions, 0 deletions
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'