From: Benda Xu Date: Sat, 7 Jan 2017 13:47:49 +0000 (+0900) Subject: sys-libs/glibc: skip sanity check if BOOTSTRAP_RAP is set. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=63c6df1a0ce38bb72792aef3ced98f3ccba8c684;p=gentoo.git sys-libs/glibc: skip sanity check if BOOTSTRAP_RAP is set. Bug: 473728 Package-Manager: portage-2.3.3 --- diff --git a/sys-libs/glibc/files/eblits/pkg_preinst.eblit b/sys-libs/glibc/files/eblits/pkg_preinst.eblit index 0c78b55f6ac8..a7975e296659 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