commit:     63c6df1a0ce38bb72792aef3ced98f3ccba8c684
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  7 13:47:49 2017 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sat Jan  7 13:49:14 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63c6df1a

sys-libs/glibc: skip sanity check if BOOTSTRAP_RAP is set.

Bug: 473728

Package-Manager: portage-2.3.3

 sys-libs/glibc/files/eblits/pkg_preinst.eblit | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/glibc/files/eblits/pkg_preinst.eblit 
b/sys-libs/glibc/files/eblits/pkg_preinst.eblit
index 0c78b55..a7975e2 100644
--- a/sys-libs/glibc/files/eblits/pkg_preinst.eblit
+++ b/sys-libs/glibc/files/eblits/pkg_preinst.eblit
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -54,7 +54,7 @@ eblit-glibc-pkg_preinst() {
 
        [[ ${ROOT} != "/" ]] && return 0
        [[ -d ${ED}/$(get_libdir) ]] || return 0
-       glibc_sanity_check
+       [[ -z ${BOOTSTRAP_RAP} ]] && glibc_sanity_check
 
        # For newer EAPIs, this was run in pkg_pretend.
        if [[ ${EAPI:-0} == [0123] ]] ; then

Reply via email to