dracut/0163-Install-etc-sysconfig-console-to-see-specific-fonts.patch
Thomas Renninger 80e6dab4c1 Accepting request 253647 from home:trenn:branches:Base:System
- Fix install-kernel with xen for self build kernels to show up in grub2
  properly (bsc#897901)
* Modify dracut-installkernel (source file)
- Fix foreign fonts in plymouth and console (bnc#897972)
* Add 0163-Install-etc-sysconfig-console-to-see-specific-fonts.patch

OBS-URL: https://build.opensuse.org/request/show/253647
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=193
2014-10-02 14:40:32 +00:00

32 lines
919 B
Diff

From 4ef054c0510f24e8652726674461833a33643b26 Mon Sep 17 00:00:00 2001
From: Thomas Renninger <trenn@suse.de>
Date: Tue, 30 Sep 2014 16:58:05 +0200
Subject: Install /etc/sysconfig/console to see specific fonts
bnc#897972
Author: Werner Fink <werner@suse.de>
Signed-off-by: Thomas Renninger <trenn@suse.de>
---
modules.d/10i18n/module-setup.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules.d/10i18n/module-setup.sh b/modules.d/10i18n/module-setup.sh
index a091f89..f7ec0d9 100755
--- a/modules.d/10i18n/module-setup.sh
+++ b/modules.d/10i18n/module-setup.sh
@@ -221,6 +221,10 @@ install() {
print_vars KEYMAP EXT_KEYMAPS UNICODE FONT FONT_MAP FONT_UNIMAP >> ${initdir}${VCONFIG_CONF}
fi
+ if dracut_module_included "systemd" && [[ -f /etc/sysconfig/console ]]; then
+ inst_simple /etc/sysconfig/console
+ fi
+
return 0
}
--
1.8.4.5