diff options
author | Aaditya Bagga <aaditya_gnulinux@zoho.com> | 2018-09-19 00:41:37 +0530 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-09-21 23:27:57 +0100 |
commit | c2e49c8e779e1a9c027792313fda455b30277505 (patch) | |
tree | a53a58f5ca99703263e842bfd075f6652e56e7a6 | |
parent | c37051e00579612e4db19e1e86b8c5975420ace0 (diff) | |
download | slackbuilds-c2e49c8e779e1a9c027792313fda455b30277505.tar.gz |
system/openrc: Added branding.
-rw-r--r-- | system/openrc/doinst.sh | 2 | ||||
-rw-r--r-- | system/openrc/openrc.SlackBuild | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/system/openrc/doinst.sh b/system/openrc/doinst.sh index 482b080f85..bae7f2e322 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 bd5c8533e6..da52ff6df9 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[@]}" |