summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--dracut/runit-void.conf3
2 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index faddc96..5638b3f 100644
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,8 @@ install:
 	install -d ${DESTDIR}/etc/runit/runsvdir
 	install -m755 ${SCRIPTS} ${DESTDIR}/etc/runit
 	install -m644 rc.conf ${DESTDIR}/etc
+	install -d ${DESTDIR}/${PREFIX}/lib/dracut/dracut.conf.d
+	install -m644 dracut/*.conf ${DESTDIR}/${PREFIX}/lib/dracut/dracut.conf.d
 	cp -aP runsvdir/* ${DESTDIR}/etc/runit/runsvdir/
 	cp -aP services/* ${DESTDIR}/etc/sv/
 
diff --git a/dracut/runit-void.conf b/dracut/runit-void.conf
new file mode 100644
index 0000000..eab8f2c
--- /dev/null
+++ b/dracut/runit-void.conf
@@ -0,0 +1,3 @@
+add_dracutmodules+=" resume "
+omit_dracutmodules+=" systemd "
+i18n_vars="/etc/rc.conf:KEYMAP,FONT,FONT_MAP,FONT_UNIMAP"