From 60022877952e822d4571cccf698d812ac082497f Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sat, 2 Sep 2017 21:38:13 -0400 Subject: [PATCH] sys-apps/systemd: call systemd_reenable in postinst Package-Manager: Portage-2.3.6_p39, Repoman-2.3.3_p17 --- sys-apps/systemd/systemd-233-r4.ebuild | 2 ++ sys-apps/systemd/systemd-234-r3.ebuild | 2 ++ sys-apps/systemd/systemd-9999.ebuild | 2 ++ 3 files changed, 6 insertions(+) diff --git a/sys-apps/systemd/systemd-233-r4.ebuild b/sys-apps/systemd/systemd-233-r4.ebuild index 02b80aa41398..fe718b7fe600 100644 --- a/sys-apps/systemd/systemd-233-r4.ebuild +++ b/sys-apps/systemd/systemd-233-r4.ebuild @@ -442,6 +442,8 @@ pkg_postinst() { # between OpenRC & systemd migrate_locale + systemd_reenable systemd-networkd.service systemd-resolved.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" diff --git a/sys-apps/systemd/systemd-234-r3.ebuild b/sys-apps/systemd/systemd-234-r3.ebuild index 9ce3fc2558a4..15bf64cd7327 100644 --- a/sys-apps/systemd/systemd-234-r3.ebuild +++ b/sys-apps/systemd/systemd-234-r3.ebuild @@ -426,6 +426,8 @@ pkg_postinst() { # between OpenRC & systemd migrate_locale + systemd_reenable systemd-networkd.service systemd-resolved.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" diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild index 940031e4b38a..6be7da5ca64a 100644 --- a/sys-apps/systemd/systemd-9999.ebuild +++ b/sys-apps/systemd/systemd-9999.ebuild @@ -423,6 +423,8 @@ pkg_postinst() { # between OpenRC & systemd migrate_locale + systemd_reenable systemd-networkd.service systemd-resolved.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" -- 2.26.2