commit:     273a0ad4f4a13298749dc9584c38ee97a556f8a1
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 30 14:54:39 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Jul 30 15:46:34 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=273a0ad4

sys-apps/systemd: drop reenable_unit

 sys-apps/systemd/systemd-9999.ebuild | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/sys-apps/systemd/systemd-9999.ebuild 
b/sys-apps/systemd/systemd-9999.ebuild
index a6151d1..3256156 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -400,14 +400,6 @@ migrate_locale() {
        fi
 }
 
-reenable_unit() {
-       if systemctl is-enabled --root="${ROOT}" "$1" &> /dev/null; then
-               ebegin "Re-enabling $1"
-               systemctl reenable --root="${ROOT}" "$1"
-               eend $? || FAIL=1
-       fi
-}
-
 pkg_postinst() {
        newusergroup() {
                enewgroup "$1"
@@ -439,9 +431,6 @@ pkg_postinst() {
        # between OpenRC & systemd
        migrate_locale
 
-       # Re-enable systemd-networkd for socket activation
-       reenable_unit systemd-networkd.service
-
        if [[ ${FAIL} ]]; then
                eerror "One of the postinst commands failed. Please check the 
postinst output"
                eerror "for errors. You may need to clean up your system and/or 
try installing"

Reply via email to