From 00b7def5a8a7581858059ef4710d26542f3eee47 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 21 Aug 2019 23:34:28 +0100 Subject: [PATCH] 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 --- sys-libs/glibc/glibc-2.30.ebuild | 4 ---- sys-libs/glibc/glibc-9999.ebuild | 4 ---- 2 files changed, 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 -- 2.26.2