From 54670b777225be2598720eabc30300c6a50ab6e8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 28 Apr 2014 12:57:59 +0200 Subject: [PATCH] runit-void: setup dracut i18n_vars. --- srcpkgs/runit-void/template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template index 33e1febd627..23bb0baefea 100644 --- a/srcpkgs/runit-void/template +++ b/srcpkgs/runit-void/template @@ -1,6 +1,6 @@ # Template file for 'runit-void' pkgname=runit-void -version=20140427 +version=20140428 revision=1 build_style=gnu-makefile homepage="http://www.voidlinux.eu" @@ -15,3 +15,9 @@ conf_files="/etc/rc.conf" do_fetch() { git clone git://github.com/voidlinux/runit-void ${pkgname}-${version} } + +post_install() { + vmkdir usr/lib/dracut/dracut.conf.d + echo 'i18n_vars="/etc/rc.conf:KEYMAP,FONT,FONT_MAP,FONT_UNIMAP"' > \ + ${DESTDIR}/usr/lib/dracut/dracut.conf.d/void-i18n.conf +}