From 6cff5478e31174b2df9633eb1dfa809faa52e10d Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 15 Jul 2024 17:12:27 +0300 Subject: [PATCH] Set cyrillic font by default in console --- ...-cyrillic-font-by-default-in-console.patch | 25 +++++++++++++++++++ SPECS/anaconda.spec | 6 ++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 SOURCES/0016-Set-cyrillic-font-by-default-in-console.patch diff --git a/SOURCES/0016-Set-cyrillic-font-by-default-in-console.patch b/SOURCES/0016-Set-cyrillic-font-by-default-in-console.patch new file mode 100644 index 0000000..df62331 --- /dev/null +++ b/SOURCES/0016-Set-cyrillic-font-by-default-in-console.patch @@ -0,0 +1,25 @@ +From 4b30ee3a113936f74f6c0b35ba7c1b08bd7ced77 Mon Sep 17 00:00:00 2001 +From: tigro +Date: Mon, 15 Jul 2024 17:10:12 +0300 +Subject: [PATCH] Set cyrillic font by default in console + +--- + pyanaconda/core/constants.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyanaconda/core/constants.py b/pyanaconda/core/constants.py +index 0ab2627..e94b3bd 100644 +--- a/pyanaconda/core/constants.py ++++ b/pyanaconda/core/constants.py +@@ -79,7 +79,7 @@ ANACONDA_CONFIG_TMP = "/run/anaconda/anaconda.conf" + # NOTE: this should be LANG_TERRITORY.CODESET, e.g. en_US.UTF-8 + DEFAULT_LANG = "en_US.UTF-8" + +-DEFAULT_VC_FONT = "eurlatgr" ++DEFAULT_VC_FONT = "UniCyr_8x16" + + DEFAULT_KEYBOARD = "us" + +-- +2.45.2 + diff --git a/SPECS/anaconda.spec b/SPECS/anaconda.spec index 9a1018e..73aeb84 100644 --- a/SPECS/anaconda.spec +++ b/SPECS/anaconda.spec @@ -1,7 +1,7 @@ Summary: Graphical system installer Name: anaconda Version: 33.16.10.5 -Release: 1%{?dist}.inferit.1 +Release: 1%{?dist}.inferit.2 License: GPLv2+ and MIT URL: http://fedoraproject.org/wiki/Anaconda @@ -28,6 +28,7 @@ Patch12: 0012-Backport-bugfixes-for-keyboard-layout.patch Patch13: 0013-Activate-all-wired-network-devices-with-link-in-up-s.patch Patch14: 0014-Set-autoconnect-and-autoconnect-priority-for-connect.patch Patch15: 0015-Disable-sphere-url.patch +Patch16: 0016-Set-cyrillic-font-by-default-in-console.patch # Versions of required components (done so we make sure the buildrequires # match the requires versions of things). @@ -390,6 +391,9 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{buildroot}%{_d %{_prefix}/libexec/anaconda/dd_* %changelog +* Mon Jul 15 2024 Arkady L. Shane - 33.16.10.5-1.inferit.2 +- Set cyrillic font by default in console + * Thu Jul 11 2024 Arkady L. Shane - 33.16.10.5-1.inferit.1 - Disable sphere url