summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2017-01-07 22:47:49 +0900
committerBenda Xu <heroxbd@gentoo.org>2017-01-07 22:49:14 +0900
commit63c6df1a0ce38bb72792aef3ced98f3ccba8c684 (patch)
tree5891b9279c72288646de5edea69d2445648467a5 /sys-libs/glibc
parentdev-php/PEAR-Mail_Mime: remove unused version 1.8.8. (diff)
downloadgentoo-63c6df1a0ce38bb72792aef3ced98f3ccba8c684.tar.gz
gentoo-63c6df1a0ce38bb72792aef3ced98f3ccba8c684.tar.bz2
gentoo-63c6df1a0ce38bb72792aef3ced98f3ccba8c684.zip
sys-libs/glibc: skip sanity check if BOOTSTRAP_RAP is set.
Bug: 473728 Package-Manager: portage-2.3.3
Diffstat (limited to 'sys-libs/glibc')
-rw-r--r--sys-libs/glibc/files/eblits/pkg_preinst.eblit4
1 files 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 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