commit:     60022877952e822d4571cccf698d812ac082497f
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  3 01:38:13 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Sep  3 01:38:13 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60022877

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 02b80aa4139..fe718b7fe60 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 9ce3fc2558a..15bf64cd732 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 940031e4b38..6be7da5ca64 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"

Reply via email to