On Wed, Jan 13, 2021 at 8:06 AM Jan Engelhardt <jengelh@inai.de> wrote:
On Wednesday 2021-01-13 13:21, Stasiek Michalski wrote:
Am Mi, 13. Jan, 2021 um 1:18 P. M. schrieb Vojtěch Zeisek <vojtech.zeisek@opensuse.org>:
Might be it wouldn't be so difficult to parallelize these individual installs...?
We would need to drop _all_ scriplets to be able to support parallel installs,
I do not think so. Running scripts is just another node to execute in the "to-do DAG". A %post just needs to run (sometime) after installation of the package, and, if another pkg B requires A, said %post may need to be ordered before B's installation. But that should be all.
We do because we don't know what a script *does*. Anyone can do *anything* in a script, so it is unsafe to try parallelization with arbitrary scripts. -- 真実はいつも一つ!/ Always, there's only one truth!