sys-libs/glibc: skip sanity check if BOOTSTRAP_RAP is set.
authorBenda Xu <heroxbd@gentoo.org>
Sat, 7 Jan 2017 13:47:49 +0000 (22:47 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Sat, 7 Jan 2017 13:49:14 +0000 (22:49 +0900)
Bug: 473728

Package-Manager: portage-2.3.3

sys-libs/glibc/files/eblits/pkg_preinst.eblit

index 0c78b55f6ac8c6ad8afaf59e94fe4f28e4e31a3d..a7975e296659a44a68c216f1ca63da1d82c5eab1 100644 (file)
@@ -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