summaryrefslogtreecommitdiff
path: root/sys-apps/openrc
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/openrc')
-rw-r--r--sys-apps/openrc/files/openrc-enable-rclogger.patch12
-rw-r--r--sys-apps/openrc/openrc-0.26.3-r1706.ebuild (renamed from sys-apps/openrc/openrc-0.26.3-r1704.ebuild)4
2 files changed, 15 insertions, 1 deletions
diff --git a/sys-apps/openrc/files/openrc-enable-rclogger.patch b/sys-apps/openrc/files/openrc-enable-rclogger.patch
new file mode 100644
index 00000000..14f4cafb
--- /dev/null
+++ b/sys-apps/openrc/files/openrc-enable-rclogger.patch
@@ -0,0 +1,12 @@
+diff -Nur a/etc/rc.conf b/etc/rc.conf
+--- a/etc/rc.conf 2017-05-30 18:46:49.000000000 +0100
++++ b/etc/rc.conf 2017-06-04 12:45:58.300189719 +0100
+@@ -48,7 +48,7 @@
+ # /var/log/rc.log
+ # NOTE: Linux systems require the devfs service to be started before
+ # logging can take place and as such cannot log the sysinit runlevel.
+-#rc_logger="NO"
++rc_logger="YES"
+
+ # Through rc_log_path you can specify a custom log file.
+ # The default value is: /var/log/rc.log
diff --git a/sys-apps/openrc/openrc-0.26.3-r1704.ebuild b/sys-apps/openrc/openrc-0.26.3-r1706.ebuild
index 21b8160a..434f9188 100644
--- a/sys-apps/openrc/openrc-0.26.3-r1704.ebuild
+++ b/sys-apps/openrc/openrc-0.26.3-r1706.ebuild
@@ -69,8 +69,10 @@ src_prepare() {
fi
if use dkms ; then
- epatch ${FILESDIR}/${PN}-dkms.patch
+ epatch "${FILESDIR}"/${PN}-dkms.patch
fi
+
+ epatch "${FILESDIR}"/${PN}-enable-rclogger.patch
}
src_compile() {