Matt Turner c37abaf941 profiles: don't name the setup phase in the directory layout checks
The amd64 17.1, ppc64 and 23.0 profile.bashrc check the directory
layout of ROOT in the setup phase. Portage decides whether to serialize
a phase by searching hook files for its name, so these read-only checks
make every package's setup phase run one at a time.

Run the checks in every phase except prerm and postrm instead, so a
broken layout still stops an install early but doesn't block an unmerge.

With Portage commits baa4c2459 ("EbuildPhase: skip ebuild-locks for
phases that run no code") and 6f21d3067 ("Scheduler: don't queue setup
phases that run no ebuild code"), installing 401 binary packages into an
empty ROOT with --jobs 32 and FEATURES=parallel-install on 23.0 takes
30.2s instead of 57.4s. With Portage 3.0.83 there is no change (91.0s vs
90.6s).

On ppc64, which sources both the ppc64 and the 23.0 file, --jobs 16
takes 193s instead of 396s, and 395s with only the 23.0 file fixed.

Bug: https://bugs.gentoo.org/866085
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2026-11-14 14:30:00 -05:00
2026-11-14 13:24:18 +01:00
2026-11-14 01:53:53 +00:00
2026-11-14 14:37:20 +09:00
2026-11-14 13:28:13 +01:00
2026-11-14 09:34:17 +02:00
2026-11-13 20:17:30 +02:00
2026-11-14 10:12:03 +00:00
2026-11-03 23:20:46 +00:00
2026-11-14 11:35:51 +01:00
2026-11-14 20:01:05 +01:00
2026-11-14 00:35:59 +00:00
2026-11-12 09:29:59 -05:00
2026-11-06 17:58:43 +02:00
2026-11-11 18:53:37 +01:00
2026-11-11 16:24:32 +01:00
2026-11-14 08:20:28 +01:00
2026-11-03 23:17:40 +01:00
2026-11-13 05:29:27 +01:00
2026-11-05 23:19:29 +01:00
2026-11-14 05:14:41 +00:00
2026-11-14 16:52:40 +01:00
2026-11-14 15:04:12 +01:00
2026-11-14 09:34:18 +02:00
2026-11-11 16:24:45 +01:00
2026-11-03 20:29:19 -05:00
2026-11-07 02:44:20 +00:00
S
Description
No description provided
9.8 GiB
Languages
Shell 97.9%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%