From 4d338f1c63ef163974417a4e4754dd47899a4681 Mon Sep 17 00:00:00 2001 From: Gabi Falk Date: Fri, 12 Apr 2024 08:00:00 +0000 Subject: toolchain.eclass: fix installation of gcc[test] packages from binary Fixes: abf8e2ee55c52c8ae894e0b3845ea1cebfcfd4e8 ("toolchain.eclass: install test results as orphaned files in /var/cache/gcc") Signed-off-by: Gabi Falk Closes: https://github.com/gentoo/gentoo/pull/36224 Signed-off-by: Sam James --- eclass/toolchain.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eclass') diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 6a515f9b5c69..0708d3c217fc 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -2325,7 +2325,7 @@ create_revdep_rebuild_entry() { #---->> pkg_pre* <<---- toolchain_pkg_preinst() { - if use test ; then + if [[ ${MERGE_TYPE} != binary ]] && use test ; then # Install as orphaned to allow comparison across more versions even # after unmerged. Also useful for historical records and tracking # down regressions a while after they first appeared, but were only -- cgit v1.2.3-65-gdbad