summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-06-04 12:49:02 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-06-04 12:49:02 +0100
commite4c71160ddea6e9042d72f421f01cae4980056e6 (patch)
tree6b5bdf6ae85b2bab020f2d9601132bc12bb3b33c
parent353700f0537d90e5cd11d79c2a976b51ee45c927 (diff)
sys-apps/openrc : enable rc_logger by default && bump sys-apps/baselayout for 1706
-rw-r--r--sys-apps/baselayout/baselayout-2.2-r1706.ebuild (renamed from sys-apps/baselayout/baselayout-2.2-r1704.ebuild)2
-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
3 files changed, 16 insertions, 2 deletions
diff --git a/sys-apps/baselayout/baselayout-2.2-r1704.ebuild b/sys-apps/baselayout/baselayout-2.2-r1706.ebuild
index ab1ec741..5ecc2fab 100644
--- a/sys-apps/baselayout/baselayout-2.2-r1704.ebuild
+++ b/sys-apps/baselayout/baselayout-2.2-r1706.ebuild
@@ -186,7 +186,7 @@ src_install() {
echo "LDPATH='${ldpaths#:}'" >> "${D}"/etc/env.d/00basic
# rc-scripts version for testing of features that *should* be present
- echo "Redcore Linux 1704 Epsilon Eridani" > "${D}"/etc/gentoo-release
+ echo "Redcore Linux 1706 - Fomalhaut" > "${D}"/etc/gentoo-release
# Sabayon customization, install /etc/hosts separately (to .example)
mv "${D}"/etc/hosts "${D}"/etc/hosts.example || die "cannot move /etc/hosts"
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() {