setup: Make additional info available for force upgrading

This includes list of packages for which conffile prompts will be shown. For
each package current version of the package, new version of the package and list
of configuration files that were modified.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2019-02-28 20:48:51 -05:00
1 parent 7862325bb6
commit ec68eb3d89
4 files changed
+56 -32

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ def setup(helper, old_version=None):
helper.call('post', actions.superuser_run, 'bind', ['setup'])
def force_upgrade(helper):
def force_upgrade(helper, _packages):
"""Force upgrade the managed packages to resolve conffile prompt."""
helper.install(managed_packages, force_configuration='old')