Install yum priorities to containers before update

When installing packages the package which was built by DLRN should
be installed even it has lower version. Let yum priorities to
ensure that.

Change-Id: Id1bb77550596c517e684a80a73cf0bee6d26e958
This commit is contained in:
Sagi Shnaidman 2018-08-30 21:54:48 +03:00
parent 7b587fe0f5
commit 9d4b320222
1 changed files with 1 additions and 0 deletions

View File

@ -19,5 +19,6 @@ if [ -z $package_for_update ]; then
exit
fi
yum install -y yum-plugin-priorities
yum -y update $packages_for_update
rm -rf /var/cache/yum