aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-08-17 16:47:27 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-08-17 16:50:58 +0200
commit1814d93089deed196ba95fe26c103da1a31eba24 (patch)
tree69318b1e51629b146d63ef2c66399f92b86f24bf /main
parenta961a79b60a23f2441ca78237d3e7781c825cd59 (diff)
downloadaports-1814d93089deed196ba95fe26c103da1a31eba24.tar.bz2
aports-1814d93089deed196ba95fe26c103da1a31eba24.tar.xz
main/openrc: store consolefont
This gets picked up by /lib/rc/sh/init-early.sh
Diffstat (limited to 'main')
-rw-r--r--main/openrc/APKBUILD8
-rw-r--r--main/openrc/consolefont.initd8
2 files changed, 12 insertions, 4 deletions
diff --git a/main/openrc/APKBUILD b/main/openrc/APKBUILD
index f8f3ef5b62..a097640a7f 100644
--- a/main/openrc/APKBUILD
+++ b/main/openrc/APKBUILD
@@ -2,7 +2,7 @@
pkgname=openrc
pkgver=0.21.3
_ver=${pkgver/_git*/}
-pkgrel=0
+pkgrel=1
pkgdesc="OpenRC manages the services, startup and shutdown of a host"
url="http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git"
arch="all"
@@ -94,7 +94,7 @@ d83df5513f08f09fa9e7353327701bf7 openrc.logrotate
91439e5e7cbf4bb4c9860e60694da168 modloop.initd
27c22aa4e5cdba499ac9a0b6b9385f7d networking.initd
c1ec888202d868710b5749f7b217d1e3 modloop.confd
-bd51c5353d6dbbb34d929bf59097b232 consolefont.initd
+cb8760df99ddd78ba686522168854535 consolefont.initd
1c629807d282ca1dc73ffe55c29146ef consolefont.confd
8a49d8ae0ec6502d0b5ddb568e73138d sysfsconf.initd"
sha256sums="cf9a3e2056c88243ab01b817f1d4073c7f7019670e7998777632c9017886aceb openrc-0.21.3.tar.gz
@@ -114,7 +114,7 @@ dda515d7d906cebcf4137746939f3fdccc7f504fe097ef1dbf429e3e6773a013 hostname.initd
e92994dfd5ad6b099eca7627e36dbbe1107c5862b46722c1e1e1b13d10276b60 modloop.initd
66151b5cc199485ddd188528a0f22f081994721f04c15b33df38f41a5d08ea78 networking.initd
a5a0316cd59f5401b1d789bb466c98186201277ba6f014017b14965fcc10c254 modloop.confd
-8a3f663e9ac14f62c3aef4121736a71edd676bdc9dd93c1d411f13a0e7ab4ee6 consolefont.initd
+15e3fd71b4f6bd3a2564c649232f4044069e41345aabde0be2c21da5999be056 consolefont.initd
9010b94892280f0bb42be39c0e989a70439eb97cbfe2a7a41a32df9a3035b8c2 consolefont.confd
63e7b8c3118612d250f55a711c3e8f0fd328ddd54464e50d0425496cc580beb4 sysfsconf.initd"
sha512sums="1c0683fa86ab9e32a1102fccfdd8f149f670f9f4bd96e0c84405f4132a400a0634d677ba43cdd2af6721b4472cfe5f5540d0af465e3dc8e8cb9c81546dc222d6 openrc-0.21.3.tar.gz
@@ -134,6 +134,6 @@ b04058ec630e19de0bafefe06198dc1bff8c8d5d2c89e4660dd83dda8bb82a76cdb1d8661cce88e4
c4de2292b5a175f082f4f80de5145746e4d97481fccb1d22f3a637e46c7c986ad4cd363cb1096312a4e338ce19c2bb4928d819a47e21a149fc36dba3b6dc1727 modloop.initd
9aeba2c5cae539f16185b82c6e6e84c1b044e838749b92e8994172296d86ec3f1c674d62d54db1e08a8191e513ddb0ab3509f50ccae6cb5d7ba5ff5a5b6abb46 networking.initd
aa702a7da8e6c0e5d8738febaf6b4e4cb021b30ce5c1809b530abf2b36739079446b16fc054740da8d86ed099942cf5deed6597cedb64c058f3def587a8b4689 modloop.confd
-c8d52d69692a00862cd55719174d7a260d5149f4951dd71196f5e9cebce3a75420a8815f0fe8b186d00b4d46739dc54542dae01a941605fcb1435f4385e444b7 consolefont.initd
+9ae0e251712f36bda9c2ebbd1bbaa5c370e9c35fd00bd41f940f1ed82bda8d36b256e03e722ca95e64b2322f65535f393bb800441529407fdfdc50d57c729aa7 consolefont.initd
260fb9500cf59ad00006086b80d463b5557c4779eb6683966a570471d302ec00325acedabf542a70f7f4bda7b5d813b51128b46d75e0c01f78223c68b3c75260 consolefont.confd
d76c75c58e6f4b0801edac4e081b725ef3d50a9a8c9bbb5692bf4d0f804af7d383bf71a73d5d03ed348a89741ef0b2427eb6a7cbf5a9b9ff60a240639fa6ec88 sysfsconf.initd"
diff --git a/main/openrc/consolefont.initd b/main/openrc/consolefont.initd
index 6f666373a3..54338d2c0a 100644
--- a/main/openrc/consolefont.initd
+++ b/main/openrc/consolefont.initd
@@ -29,6 +29,14 @@ start() {
i=$(( i + 1 ))
done
eend $ret
+
+ # Store the font so we can use it ASAP on boot
+ if [ $ret -eq 0 ] && checkpath -W "$RC_LIBEXECDIR"; then
+ mkdir -p "$RC_LIBEXECDIR"/console
+ setfont -O "$RC_LIBEXECDIR"/console/font
+ fi
+
+ return $ret
}
stop() {