From: Sergei Trofimovich Date: Wed, 21 Aug 2019 22:34:28 +0000 (+0100) Subject: sys-libs/glibc: drop telinit call from pkg_*(), bug #642784 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=00b7def5a8a7581858059ef4710d26542f3eee47;p=gentoo.git 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 --- 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