diff options
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/openrc/openrc-0.47.1-r2.ebuild (renamed from sys-apps/openrc/openrc-0.47.1-r1.ebuild) | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/sys-apps/openrc/openrc-0.47.1-r1.ebuild b/sys-apps/openrc/openrc-0.47.1-r2.ebuild index 35445f80..a4800ced 100644 --- a/sys-apps/openrc/openrc-0.47.1-r1.ebuild +++ b/sys-apps/openrc/openrc-0.47.1-r2.ebuild @@ -38,7 +38,8 @@ COMMON_DEPEND=" >=sys-libs/libselinux-2.6 ) settingsd? ( app-admin/openrc-settingsd ) - amd64? ( splash? ( sys-boot/plymouth-openrc-plugin ) )" + amd64? ( splash? ( sys-boot/plymouth-openrc-plugin ) ) + >=virtual/logger-1.314.1337" DEPEND="${COMMON_DEPEND} virtual/os-headers ncurses? ( virtual/pkgconfig )" @@ -164,7 +165,7 @@ pkg_postinst() { "${ROOT}"/sbin/rc-update add dbus boot > /dev/null 2>&1 fi fi - # add elogind to boot runlevel, disable consolekit && cgmanager + # consolekit -> elogind migration if [ -e "${ROOT}"/etc/init.d/elogind ] && use elogind; then if [ "$(rc-config list boot | grep elogind)" != "" ]; then einfo > /dev/null 2>&1 @@ -218,4 +219,16 @@ pkg_postinst() { "${ROOT}"/sbin/rc-update add seedrng boot > /dev/null 2>&1 fi fi + # syslog-ng -> metalog migration + if [ -e "${ROOT}"/etc/init.d/metalog ]; then + if [ "$(rc-config list default | grep metalog)" != "" ]; then + einfo > /dev/null 2>&1 + else + "${ROOT}"/sbin/rc-update add metalog default > /dev/null 2>&1 + fi + + if [ "$(rc-config list default | grep syslog-ng)" != "" ]; then + "${ROOT}"/sbin/rc-update del syslog-ng default > /dev/null 2>&1 + fi + fi } |