update/cgcs-patch
Don Penney 62a66370ca Add protection against duplicate RPMs
If a cold reboot occurs in the middle of patch installation, the
system can be left in a state where the patch-agent is unable to
perform its operations properly. The RPM database can be left with
duplicate RPMs due to the incomplete transaction, which can in turn
lead to DNF update installation issues.

This update adds detection of duplicate RPMs to the patch-agent to
avoid attempting installation until the system is recovered.

Additionally, protection is added to the sw-patch init to treat
multiple reboot patch installations as an error, to avoid boot loops.

Closes-Bug: 1904928
Change-Id: Ia06a6f669c45398d7956f2ac2caa76c447bc1b16
Signed-off-by: Don Penney <don.penney@windriver.com>
2020-11-25 14:47:47 -05:00
..
bin Add protection against duplicate RPMs 2020-11-25 14:47:47 -05:00
centos Use PKG_GITREVCOUNT for package versions 2020-06-22 22:19:34 -04:00
cgcs-patch Add protection against duplicate RPMs 2020-11-25 14:47:47 -05:00
restart-info.html Cleanup openstack components from patch scripts and tests 2019-04-04 09:39:18 -05:00