From 63c6df1a0ce38bb72792aef3ced98f3ccba8c684 Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Sat, 7 Jan 2017 22:47:49 +0900 Subject: [PATCH] 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 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 -- 2.26.2