Skip to content

Commit

Permalink
sys-apps/systemd: call systemd_reenable in postinst
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6_p39, Repoman-2.3.3_p17
  • Loading branch information
floppym committed Sep 3, 2017
1 parent f7e7589 commit 6002287
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys-apps/systemd/systemd-233-r4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions sys-apps/systemd/systemd-234-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions sys-apps/systemd/systemd-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 6002287

Please sign in to comment.