sys-apps/systemd: call systemd_reenable in postinst
authorMike Gilbert <floppym@gentoo.org>
Sun, 3 Sep 2017 01:38:13 +0000 (21:38 -0400)
committerMike Gilbert <floppym@gentoo.org>
Sun, 3 Sep 2017 01:38:13 +0000 (21:38 -0400)
Package-Manager: Portage-2.3.6_p39, Repoman-2.3.3_p17

sys-apps/systemd/systemd-233-r4.ebuild
sys-apps/systemd/systemd-234-r3.ebuild
sys-apps/systemd/systemd-9999.ebuild

index 02b80aa413984d0f3b27d0625e3316d3591f3bfc..fe718b7fe600008409ac388923a5bb4b45ed8c06 100644 (file)
@@ -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"
index 9ce3fc2558a48951ef8dc9498808979dd89cb1ce..15bf64cd7327a30ade49684f0af064e5c694e23e 100644 (file)
@@ -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"
index 940031e4b38a024a5c4edb62e548430c8de88a3b..6be7da5ca64a6b1faabc50e41957aef75e3f7c8b 100644 (file)
@@ -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"