diff options
author | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2020-11-20 12:51:17 +0100 |
---|---|---|
committer | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2020-11-23 08:56:24 +0100 |
commit | 7f8b8e7cdc41ef31a11516340aa58b28e23e2175 (patch) | |
tree | 208a5ec5e0b9ee13b91453e6cb66b980463d9247 /build/creating_data | |
parent | aefd99bf33417653d779b44a9e2365cdfd6b53ab (diff) |
Enhance repo creation scripts idempotency by supporting caching
While 'yumdownloader' and 'apt-get download' commands do not
re-download packages that are already present in working dir,
scripts still need to perform package dependencies resolution
which is a time consuming activity hence a feature was added to
skip any further actions (download or deps resolution) on packages
that are already present locally.
For cold versus warm cache the gain in run time is:
cold warm
RPM 90s 10s
DEB 7m 90s
Change-Id: Ie502934cff6484844557832251e7ce0991789cfb
Issue-ID: OOM-2635
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'build/creating_data')
0 files changed, 0 insertions, 0 deletions