runit-void: setup dracut i18n_vars.

This commit is contained in:
Juan RP 2014-04-28 12:57:59 +02:00
parent e09cb1c57e
commit 54670b7772
1 changed files with 7 additions and 1 deletions

View File

@ -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
}