runit-void: add dracut resume module by default, to resume from hibernation ootb.

This commit is contained in:
Juan RP 2014-05-07 15:38:35 +02:00
parent 26bd1dcc6a
commit 5c151ad7ae
2 changed files with 4 additions and 4 deletions

View file

@ -0,0 +1,2 @@
add_modules+=" resume "
i18n_vars="/etc/rc.conf:KEYMAP,FONT,FONT_MAP,FONT_UNIMAP"

View file

@ -1,7 +1,7 @@
# Template file for 'runit-void'
pkgname=runit-void
version=20140507
revision=1
revision=2
build_style=gnu-makefile
homepage="http://www.voidlinux.eu"
short_desc="runit scripts for Void Linux"
@ -17,7 +17,5 @@ do_fetch() {
}
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
vinstall ${FILESDIR}/dracut.conf 644 usr/lib/dracut/dracut.conf.d ${pkgname}.conf
}