mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
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>
This commit is contained in:
@@ -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!"
|
||||
|
||||
@@ -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!"
|
||||
|
||||
@@ -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!"
|
||||
|
||||
Reference in New Issue
Block a user