1 |
commit: 60022877952e822d4571cccf698d812ac082497f |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 3 01:38:13 2017 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 3 01:38:13 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60022877 |
7 |
|
8 |
sys-apps/systemd: call systemd_reenable in postinst |
9 |
|
10 |
Package-Manager: Portage-2.3.6_p39, Repoman-2.3.3_p17 |
11 |
|
12 |
sys-apps/systemd/systemd-233-r4.ebuild | 2 ++ |
13 |
sys-apps/systemd/systemd-234-r3.ebuild | 2 ++ |
14 |
sys-apps/systemd/systemd-9999.ebuild | 2 ++ |
15 |
3 files changed, 6 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/systemd/systemd-233-r4.ebuild b/sys-apps/systemd/systemd-233-r4.ebuild |
18 |
index 02b80aa4139..fe718b7fe60 100644 |
19 |
--- a/sys-apps/systemd/systemd-233-r4.ebuild |
20 |
+++ b/sys-apps/systemd/systemd-233-r4.ebuild |
21 |
@@ -442,6 +442,8 @@ pkg_postinst() { |
22 |
# between OpenRC & systemd |
23 |
migrate_locale |
24 |
|
25 |
+ systemd_reenable systemd-networkd.service systemd-resolved.service |
26 |
+ |
27 |
if [[ ${FAIL} ]]; then |
28 |
eerror "One of the postinst commands failed. Please check the postinst output" |
29 |
eerror "for errors. You may need to clean up your system and/or try installing" |
30 |
|
31 |
diff --git a/sys-apps/systemd/systemd-234-r3.ebuild b/sys-apps/systemd/systemd-234-r3.ebuild |
32 |
index 9ce3fc2558a..15bf64cd732 100644 |
33 |
--- a/sys-apps/systemd/systemd-234-r3.ebuild |
34 |
+++ b/sys-apps/systemd/systemd-234-r3.ebuild |
35 |
@@ -426,6 +426,8 @@ pkg_postinst() { |
36 |
# between OpenRC & systemd |
37 |
migrate_locale |
38 |
|
39 |
+ systemd_reenable systemd-networkd.service systemd-resolved.service |
40 |
+ |
41 |
if [[ ${FAIL} ]]; then |
42 |
eerror "One of the postinst commands failed. Please check the postinst output" |
43 |
eerror "for errors. You may need to clean up your system and/or try installing" |
44 |
|
45 |
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild |
46 |
index 940031e4b38..6be7da5ca64 100644 |
47 |
--- a/sys-apps/systemd/systemd-9999.ebuild |
48 |
+++ b/sys-apps/systemd/systemd-9999.ebuild |
49 |
@@ -423,6 +423,8 @@ pkg_postinst() { |
50 |
# between OpenRC & systemd |
51 |
migrate_locale |
52 |
|
53 |
+ systemd_reenable systemd-networkd.service systemd-resolved.service |
54 |
+ |
55 |
if [[ ${FAIL} ]]; then |
56 |
eerror "One of the postinst commands failed. Please check the postinst output" |
57 |
eerror "for errors. You may need to clean up your system and/or try installing" |