Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/glibc/
Date: Wed, 21 Aug 2019 22:35:33
Message-Id: 1566426921.00b7def5a8a7581858059ef4710d26542f3eee47.slyfox@gentoo
1 commit: 00b7def5a8a7581858059ef4710d26542f3eee47
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 21 22:34:28 2019 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 21 22:35:21 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00b7def5
7
8 sys-libs/glibc: drop telinit call from pkg_*(), bug #642784
9
10 Rely on sysvinit re-execution on shutdown (bug #642858)
11 instead of relying on glibc's pkg_*() phases.
12
13 Reported-by: Mike Gilbert
14 Bug: https://bugs.gentoo.org/642784
15 Package-Manager: Portage-2.3.72, Repoman-2.3.17
16 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
17
18 sys-libs/glibc/glibc-2.30.ebuild | 4 ----
19 sys-libs/glibc/glibc-9999.ebuild | 4 ----
20 2 files changed, 8 deletions(-)
21
22 diff --git a/sys-libs/glibc/glibc-2.30.ebuild b/sys-libs/glibc/glibc-2.30.ebuild
23 index eafa9c84edb..743f14c253d 100644
24 --- a/sys-libs/glibc/glibc-2.30.ebuild
25 +++ b/sys-libs/glibc/glibc-2.30.ebuild
26 @@ -1462,10 +1462,6 @@ pkg_postinst() {
27 fi
28
29 if ! is_crosscompile && [[ ${ROOT} == "/" ]] ; then
30 - # Reload init ... if in a chroot or a diff init package, ignore
31 - # errors from this step #253697
32 - /sbin/telinit U 2>/dev/null
33 -
34 use compile-locales || run_locale_gen "${EROOT}"
35 fi
36
37
38 diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
39 index e1955052ee3..1075f02be79 100644
40 --- a/sys-libs/glibc/glibc-9999.ebuild
41 +++ b/sys-libs/glibc/glibc-9999.ebuild
42 @@ -1449,10 +1449,6 @@ pkg_postinst() {
43 fi
44
45 if ! is_crosscompile && [[ -z ${ROOT} ]] ; then
46 - # Reload init ... if in a chroot or a diff init package, ignore
47 - # errors from this step #253697
48 - /sbin/telinit U 2>/dev/null
49 -
50 use compile-locales || run_locale_gen "${EROOT}/"
51 fi