aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2018-09-19 00:41:37 +0530
committerDavid Spencer <idlemoor@slackbuilds.org>2018-09-21 23:27:57 +0100
commitc2e49c8e779e1a9c027792313fda455b30277505 (patch)
treea53a58f5ca99703263e842bfd075f6652e56e7a6 /system
parentc37051e00579612e4db19e1e86b8c5975420ace0 (diff)
system/openrc: Added branding.
Diffstat (limited to 'system')
-rw-r--r--system/openrc/doinst.sh2
-rw-r--r--system/openrc/openrc.SlackBuild4
2 files changed, 3 insertions, 3 deletions
diff --git a/system/openrc/doinst.sh b/system/openrc/doinst.sh
index 482b080f85be3..bae7f2e3225f2 100644
--- a/system/openrc/doinst.sh
+++ b/system/openrc/doinst.sh
@@ -24,4 +24,4 @@ for file in "${BACKUP_CONF[@]}"; do
done
# enable cgroups service as required by openrc 0.35+
-[ ! -e etc/runlevels/sysinit/cgroups ] && chroot . /sbin/rc-update add cgroups sysinit
+[ ! -e etc/runlevels/sysinit/cgroups ] && ln -s /etc/init.d/cgroups etc/runlevels/sysinit/cgroups
diff --git a/system/openrc/openrc.SlackBuild b/system/openrc/openrc.SlackBuild
index bd5c8533e643e..da52ff6df9512 100644
--- a/system/openrc/openrc.SlackBuild
+++ b/system/openrc/openrc.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=openrc
VERSION=${VERSION:-0.35.5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -80,7 +80,7 @@ MAKEARGS+=(MANDIR=/usr/man)
MAKEARGS+=(DOCDIR=/usr/doc/$PRGNAM-$VERSION)
MAKEARGS+=(MKTERMCAP=ncurses)
MAKEARGS+=(MKBASHCOMP=yes)
-#MAKEARGS+=(BRANDING='Slackware Linux')
+MAKEARGS+=(BRANDING="$(uname -rs) on $(cat /etc/slackware-version)")
make "${MAKEARGS[@]}"