summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-09-20 13:04:13 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-09-20 13:05:47 +0300
commita6d07608de5755a5d418dbba2c9b1aa7b4e08be4 (patch)
tree1059a09b8ec8f5ba346fe62f432f248931e3fc39 /sys-apps/kmod/kmod-9999.ebuild
parentsci-physics/qmeq: Switch from zip to tgz source (diff)
downloadgentoo-a6d07608de5755a5d418dbba2c9b1aa7b4e08be4.tar.gz
gentoo-a6d07608de5755a5d418dbba2c9b1aa7b4e08be4.tar.bz2
gentoo-a6d07608de5755a5d418dbba2c9b1aa7b4e08be4.zip
sys-apps/kmod: Do not print OpenRC messages on systemd
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'sys-apps/kmod/kmod-9999.ebuild')
-rw-r--r--sys-apps/kmod/kmod-9999.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-apps/kmod/kmod-9999.ebuild b/sys-apps/kmod/kmod-9999.ebuild
index c9e60cdc33f1..7a4f75e4ee5f 100644
--- a/sys-apps/kmod/kmod-9999.ebuild
+++ b/sys-apps/kmod/kmod-9999.ebuild
@@ -192,7 +192,7 @@ pkg_postinst() {
fi
if [[ -e ${EROOT}/etc/runlevels/sysinit ]]; then
- if [[ ! -e ${EROOT}/etc/runlevels/sysinit/kmod-static-nodes ]]; then
+ if ! has_version sys-apps/systemd && [[ ! -e ${EROOT}/etc/runlevels/sysinit/kmod-static-nodes ]]; then
ewarn
ewarn "You need to add kmod-static-nodes to the sysinit runlevel for"
ewarn "kernel modules to have required static nodes!"