diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-08-20 13:11:50 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-08-28 23:25:25 +0200 |
commit | 4a89828778ec910031d919ffe52b27d66b8c62c2 (patch) | |
tree | fbf0d05b91ec9a8e0859455140e79d42336a0026 /main/openrc/0008-make-consolefont-service-compatible-with-busyboxs-se.patch | |
parent | 5a45173b50892cb634197c30b3506ebff98d3b7d (diff) | |
download | aports-4a89828778ec910031d919ffe52b27d66b8c62c2.tar.bz2 aports-4a89828778ec910031d919ffe52b27d66b8c62c2.tar.xz |
main/openrc: uncompress font before dumping it to RC_LIBEXECDIR
Fixes setting the font during early boot when using kdbs setfont
implementation.
Diffstat (limited to 'main/openrc/0008-make-consolefont-service-compatible-with-busyboxs-se.patch')
-rw-r--r-- | main/openrc/0008-make-consolefont-service-compatible-with-busyboxs-se.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/openrc/0008-make-consolefont-service-compatible-with-busyboxs-se.patch b/main/openrc/0008-make-consolefont-service-compatible-with-busyboxs-se.patch index fa0755bc5c..df2ffb702b 100644 --- a/main/openrc/0008-make-consolefont-service-compatible-with-busyboxs-se.patch +++ b/main/openrc/0008-make-consolefont-service-compatible-with-busyboxs-se.patch @@ -1,4 +1,4 @@ -From bf1d47b86ae3a4142825de6e79ddd7b933b468c4 Mon Sep 17 00:00:00 2001 +From 89433b052ae581dca15a7aa2e6da17b27c2ee80b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net> Date: Wed, 17 Aug 2016 17:52:58 +0200 Subject: [PATCH 8/8] make consolefont service compatible with busyboxs setfont @@ -34,7 +34,7 @@ index e01ae84..75544b2 100644 -#unicodemap="iso01" +#consoletranslation="8859-1_to_uni.trans" diff --git a/init.d/consolefont.in b/init.d/consolefont.in -index 9fe95af..fce1a70 100644 +index 9fe95af..173ed42 100644 --- a/init.d/consolefont.in +++ b/init.d/consolefont.in @@ -22,7 +22,6 @@ start() @@ -60,8 +60,8 @@ index 9fe95af..fce1a70 100644 if [ $retval -eq 0 ] && checkpath -W "$RC_LIBEXECDIR"; then mkdir -p "$RC_LIBEXECDIR"/console - setfont -O "$RC_LIBEXECDIR"/console/font -+ cp "/usr/share/consolefonts/$consolefont" \ -+ "$RC_LIBEXECDIR"/console/font ++ zcat "/usr/share/consolefonts/$consolefont" \ ++ > "$RC_LIBEXECDIR"/console/font fi return $retval |