runit-void: add dracut resume module by default, to resume from hibernation ootb.
This commit is contained in:
parent
26bd1dcc6a
commit
5c151ad7ae
2 changed files with 4 additions and 4 deletions
2
srcpkgs/runit-void/files/dracut.conf
Normal file
2
srcpkgs/runit-void/files/dracut.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
add_modules+=" resume "
|
||||||
|
i18n_vars="/etc/rc.conf:KEYMAP,FONT,FONT_MAP,FONT_UNIMAP"
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'runit-void'
|
# Template file for 'runit-void'
|
||||||
pkgname=runit-void
|
pkgname=runit-void
|
||||||
version=20140507
|
version=20140507
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
homepage="http://www.voidlinux.eu"
|
homepage="http://www.voidlinux.eu"
|
||||||
short_desc="runit scripts for Void Linux"
|
short_desc="runit scripts for Void Linux"
|
||||||
|
@ -17,7 +17,5 @@ do_fetch() {
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vmkdir usr/lib/dracut/dracut.conf.d
|
vinstall ${FILESDIR}/dracut.conf 644 usr/lib/dracut/dracut.conf.d ${pkgname}.conf
|
||||||
echo 'i18n_vars="/etc/rc.conf:KEYMAP,FONT,FONT_MAP,FONT_UNIMAP"' > \
|
|
||||||
${DESTDIR}/usr/lib/dracut/dracut.conf.d/void-i18n.conf
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue