install: Use a font with more glyphs on tty2.

* gnu/system/install.scm (%installation-services): For
'console-font-service-type', use LatGrkCyr-8x16 on tty2.
This commit is contained in:
Ludovic Courtès 2019-04-12 17:19:31 +02:00
parent c7dc604253
commit 13fd0a3087
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 11 additions and 5 deletions

View File

@ -342,12 +342,18 @@ Access documentation at any time by pressing Alt-F2.\x1b[0m
;; since it takes the installation directory as an argument. ;; since it takes the installation directory as an argument.
(cow-store-service) (cow-store-service)
;; Install Unicode support and a suitable font. Use a font that ;; Install Unicode support and a suitable font.
;; doesn't have more than 256 glyphs so that we can use colors with
;; varying brightness levels (see note in setfont(8)).
(service console-font-service-type (service console-font-service-type
(map (lambda (tty) (map (match-lambda
(cons tty "lat9u-16")) ("tty2"
;; Use a font that contains characters such as
;; curly quotes as found in the manual.
'("tty2" . "LatGrkCyr-8x16"))
(tty
;; Use a font that doesn't have more than 256
;; glyphs so that we can use colors with varying
;; brightness levels (see note in setfont(8)).
`(,tty . "lat9u-16")))
'("tty1" "tty2" "tty3" "tty4" "tty5" "tty6"))) '("tty1" "tty2" "tty3" "tty4" "tty5" "tty6")))
;; To facilitate copy/paste. ;; To facilitate copy/paste.