Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
dracut.4966
0172-i18n_add_correct_fontmaps.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0172-i18n_add_correct_fontmaps.patch of Package dracut.4966
From 74a7499726d7be15abaeddf32a59278d69e18a7c Mon Sep 17 00:00:00 2001 From: Fabian Vogt <fvogt@suse.com> Date: Thu, 17 Sep 2015 15:10:54 +0200 Subject: [PATCH] Install correct FONT_MAP files Not all files under /usr/share/kbd/consoletrans follow the same scheme, some use ${FONT_MAP}, others ${FONT_MAP}.trans or even ${FONT_MAP}_to_uni.trans. This patch makes sure that the correct files are installed into the initrd. References: boo#932981 boo#943312 bnc#904214 Signed-off-by: Fabian Vogt <fvogt@suse.com> --- modules.d/10i18n/module-setup.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules.d/10i18n/module-setup.sh b/modules.d/10i18n/module-setup.sh index f7ec0d9..494891b 100755 --- a/modules.d/10i18n/module-setup.sh +++ b/modules.d/10i18n/module-setup.sh @@ -198,7 +198,11 @@ install() { if [[ ${FONT_MAP} ]] then FONT_MAP=${FONT_MAP%.trans} - inst_simple ${kbddir}/consoletrans/${FONT_MAP}.trans + # There are three different formats that setfont supports + inst_simple ${kbddir}/consoletrans/${FONT_MAP} \ + || inst_simple ${kbddir}/consoletrans/${FONT_MAP}.trans \ + || inst_simple ${kbddir}/consoletrans/${FONT_MAP}_to_uni.trans \ + || dwarn "Could not find FONT_MAP ${FONT_MAP}!" fi if [[ ${FONT_UNIMAP} ]] -- 2.5.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor