summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-11-13 10:36:06 +0100
committerAlejandro Colomar <alx@kernel.org>2023-11-24 23:31:35 +0100
commit09b01b9d806c11aad71d1e4f296916cde039f648 (patch)
tree990167a29a12244e23f417023efc83ab17a05643
parent426c120938bcf196cb211f441c8ecc4a3e2ee70d (diff)
console: Configure large font size
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--Makefile9
-rw-r--r--etc/default/console-setup16
2 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e01a30e..32a266c 100644
--- a/Makefile
+++ b/Makefile
@@ -39,6 +39,15 @@ bash:
$(INSTALL_DATA) -DT "$$f" "$(DESTDIR)$(HOME)/$$f"; \
done;
+.PHONY: console
+console:
+ cd $(SYSCONFDIR) && \
+ find . -type f \
+ |grep console-setup \
+ |while read f; do \
+ $(INSTALL_DATA) -DT "$$f" "$(DESTDIR)$(sysconfdir)/$$f"; \
+ done;
+
.PHONY: doas
doas:
cd $(SYSCONFDIR) && \
diff --git a/etc/default/console-setup b/etc/default/console-setup
new file mode 100644
index 0000000..206f834
--- /dev/null
+++ b/etc/default/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="Lat15"
+FONTFACE="Terminus"
+FONTSIZE="16x32"
+
+VIDEOMODE=
+
+# The following is an example how to use a braille font
+# FONT='lat9w-08.psf.gz brl-8x8.psf'