summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-08-21 23:34:28 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2019-08-21 23:35:21 +0100
commit00b7def5a8a7581858059ef4710d26542f3eee47 (patch)
treecc4ffa92bdf2fec732f37471b52f6beb7b6d1e97 /sys-libs/glibc
parenttoolchain.eclass: Fix gcj's automagic dependency on dev-java/antlr (diff)
downloadgentoo-00b7def5a8a7581858059ef4710d26542f3eee47.tar.gz
gentoo-00b7def5a8a7581858059ef4710d26542f3eee47.tar.bz2
gentoo-00b7def5a8a7581858059ef4710d26542f3eee47.zip
sys-libs/glibc: drop telinit call from pkg_*(), bug #642784
Rely on sysvinit re-execution on shutdown (bug #642858) instead of relying on glibc's pkg_*() phases. Reported-by: Mike Gilbert Bug: https://bugs.gentoo.org/642784 Package-Manager: Portage-2.3.72, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-libs/glibc')
-rw-r--r--sys-libs/glibc/glibc-2.30.ebuild4
-rw-r--r--sys-libs/glibc/glibc-9999.ebuild4
2 files changed, 0 insertions, 8 deletions
diff --git a/sys-libs/glibc/glibc-2.30.ebuild b/sys-libs/glibc/glibc-2.30.ebuild
index eafa9c84edb3..743f14c253d4 100644
--- a/sys-libs/glibc/glibc-2.30.ebuild
+++ b/sys-libs/glibc/glibc-2.30.ebuild
@@ -1462,10 +1462,6 @@ pkg_postinst() {
fi
if ! is_crosscompile && [[ ${ROOT} == "/" ]] ; then
- # Reload init ... if in a chroot or a diff init package, ignore
- # errors from this step #253697
- /sbin/telinit U 2>/dev/null
-
use compile-locales || run_locale_gen "${EROOT}"
fi
diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index e1955052ee36..1075f02be79f 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -1449,10 +1449,6 @@ pkg_postinst() {
fi
if ! is_crosscompile && [[ -z ${ROOT} ]] ; then
- # Reload init ... if in a chroot or a diff init package, ignore
- # errors from this step #253697
- /sbin/telinit U 2>/dev/null
-
use compile-locales || run_locale_gen "${EROOT}/"
fi