Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/systemd/
Date: Sat, 30 Jul 2016 15:46:50
Message-Id: 1469893594.273a0ad4f4a13298749dc9584c38ee97a556f8a1.floppym@gentoo
1 commit: 273a0ad4f4a13298749dc9584c38ee97a556f8a1
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 30 14:54:39 2016 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 30 15:46:34 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=273a0ad4
7
8 sys-apps/systemd: drop reenable_unit
9
10 sys-apps/systemd/systemd-9999.ebuild | 11 -----------
11 1 file changed, 11 deletions(-)
12
13 diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild
14 index a6151d1..3256156 100644
15 --- a/sys-apps/systemd/systemd-9999.ebuild
16 +++ b/sys-apps/systemd/systemd-9999.ebuild
17 @@ -400,14 +400,6 @@ migrate_locale() {
18 fi
19 }
20
21 -reenable_unit() {
22 - if systemctl is-enabled --root="${ROOT}" "$1" &> /dev/null; then
23 - ebegin "Re-enabling $1"
24 - systemctl reenable --root="${ROOT}" "$1"
25 - eend $? || FAIL=1
26 - fi
27 -}
28 -
29 pkg_postinst() {
30 newusergroup() {
31 enewgroup "$1"
32 @@ -439,9 +431,6 @@ pkg_postinst() {
33 # between OpenRC & systemd
34 migrate_locale
35
36 - # Re-enable systemd-networkd for socket activation
37 - reenable_unit systemd-networkd.service
38 -
39 if [[ ${FAIL} ]]; then
40 eerror "One of the postinst commands failed. Please check the postinst output"
41 eerror "for errors. You may need to clean up your system and/or try installing"