From: Sergei Trofimovich Date: Sat, 12 Oct 2019 19:46:49 +0000 (+0100) Subject: toolchain-glibc.eclass: allow glibc dongrade on I_ALLOW_TO_BREAK_MY_SYSTEM X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d7bc808a406129ec4f59a2a8f02d37bc087cf0d4;p=gentoo.git toolchain-glibc.eclass: allow glibc dongrade on I_ALLOW_TO_BREAK_MY_SYSTEM Signed-off-by: Sergei Trofimovich --- diff --git a/eclass/toolchain-glibc.eclass b/eclass/toolchain-glibc.eclass index 4aa06db55293..30781fed7775 100644 --- a/eclass/toolchain-glibc.eclass +++ b/eclass/toolchain-glibc.eclass @@ -516,7 +516,7 @@ toolchain-glibc_pkg_pretend() { if has_version ">${CATEGORY}/${P}-r10000" ; then eerror "Sanity check to keep you from breaking your system:" eerror " Downgrading glibc is not supported and a sure way to destruction" - die "aborting to save your system" + [[ ${I_ALLOW_TO_BREAK_MY_SYSTEM} = yes ]] || die "Aborting to save your system." fi if ! glibc_run_test '#include \nint main(){return getpwuid(0)==0;}\n'