Ensure only new updates are installed 09/6109/1
authorWilliam Douglas <william.douglas@intel.com>
Tue, 30 Jul 2013 20:55:12 +0000 (13:55 -0700)
committerWilliam Douglas <william.douglas@intel.com>
Tue, 30 Jul 2013 20:55:12 +0000 (13:55 -0700)
commit4bd34cd1f5c032e57c0847100426a00645f00dff
tree10cc3409e60e1d6fc9a7a5fc36f49632821e0ac8
parentaca28790f9a1bf523f7a399dfa53d302b64f237e
Ensure only new updates are installed

The previously get_uninstalled_updates would look only at updates
which had been installed by the system updater and would then add
updates that didn't need to be applied because the current system
was installed from a later image than the earlier updates.

This patch adds a check for said invalid updates as well as creates
a folder for the zypper rpm cache of the update when needed.

Signed-off-by: William Douglas <william.douglas@intel.com>
swup.py