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
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')
-rw-r--r--sys-apps/kmod/kmod-26-r5.ebuild2
-rw-r--r--sys-apps/kmod/kmod-27-r2.ebuild2
-rw-r--r--sys-apps/kmod/kmod-9999.ebuild2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys-apps/kmod/kmod-26-r5.ebuild b/sys-apps/kmod/kmod-26-r5.ebuild
index 0971ec42863f..53000bb3debc 100644
--- a/sys-apps/kmod/kmod-26-r5.ebuild
+++ b/sys-apps/kmod/kmod-26-r5.ebuild
@@ -190,7 +190,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!"
diff --git a/sys-apps/kmod/kmod-27-r2.ebuild b/sys-apps/kmod/kmod-27-r2.ebuild
index d221e38e3077..25f444735245 100644
--- a/sys-apps/kmod/kmod-27-r2.ebuild
+++ b/sys-apps/kmod/kmod-27-r2.ebuild
@@ -194,7 +194,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!"
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!"