-
Notifications
You must be signed in to change notification settings - Fork 436
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[backend] improve kiwi product build speed
The goal of this commit is to reduct the amount of packages that need to be download for a kiwi product builds. It consists of three changes: - ignore packages with the same name.arch in lower-priority repositories. This is also what kiwi does, therefore we do not expect any different build results. - ignore packages with the same nevra in a repository. This is also done by the worker, but we do it now in the scheduler instead. The reason is that doing it in the worker leads to cache misses. We changed semantics here: we now use the first occurance where the worker used the last. This might result in .src.rpms coming from a different package. - use the "import" architecture for imported rpms if we also have the architecture in our list. This is mainly cosmetics, but the old code was not deterministic. The generated products will contain the same rpms, but the change is visible in the generated .report files.
- Loading branch information
Showing
1 changed file
with
79 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters