ansible-role-tripleo-modify.../files
Steve Baker 9014df9472 Speed up execution time of yum_update.sh
Doing a yum update with an explicit list of packages where many of
those packages are already up-to-date has a significant time penalty.
This change includes version comparison to remove packages from
packages_for_update where the installed and available versions are
identical.

This change also only installs yum-plugin-priorities if it is not
already installed, for some extra time saving.

For a specific example of time saved, I had a
centos-binary-rsyslog-base with the following timings.

Without this change
-------------------
packages passed to yum update: 87
packages actually updated:     11
time taken                     35s

With this change
-------------------
packages passed to yum update: 11
packages actually updated:     11
time taken                     10s

This time saved should add up over all of the container images during
image prepare in CI.

Change-Id: Ie282acd1cdc0de8d875959ec9578122fe34f98ac
2019-02-25 04:44:21 +00:00
..
dev_install.sh Ported tripleo-modify-image to py3 2019-02-18 18:22:40 +05:30
rpm_install.sh Ported tripleo-modify-image to py3 2019-02-18 18:22:40 +05:30
yum_update.sh Speed up execution time of yum_update.sh 2019-02-25 04:44:21 +00:00