Martin Peřina has uploaded a new change for review. Change subject: kdump: Remove kexec-tools check from offlinepackager ......................................................................
kdump: Remove kexec-tools check from offlinepackager Removes kexec-tools package check from offlinepackager, because in oVirt Node we use rpm -q to get kexec-tools version. Change-Id: I7d53b0467f8f2663f42a7665e1cfe611ca66546f Bug-Url: https://bugzilla.redhat.com/1079821 Signed-off-by: Martin Perina <[email protected]> --- M src/plugins/ovirt-host-deploy/core/offlinepackager.py 1 file changed, 0 insertions(+), 29 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-host-deploy refs/changes/82/29282/1 diff --git a/src/plugins/ovirt-host-deploy/core/offlinepackager.py b/src/plugins/ovirt-host-deploy/core/offlinepackager.py index 7818c71..27da4c0 100644 --- a/src/plugins/ovirt-host-deploy/core/offlinepackager.py +++ b/src/plugins/ovirt-host-deploy/core/offlinepackager.py @@ -69,35 +69,6 @@ 'arch': 'noarch', }, ] - elif tuple(patterns) == ('kexec-tools',): - (name, version, desc) = platform.linux_distribution( - full_distribution_name=0 - ) - - pkgs = [] - try: - major_version = int(version.split('.')[0]) - except ValueError: - major_version = 0 - if ( - name in ('redhat', 'centos') or - ( - name == 'fedora' and - major_version >= 20 - ) - ): - pkgs = [ - { - 'operation': 'installed', - 'display_name': 'kexec-tools', - 'name': 'kexec-tools', - 'version': '999.9.9', - 'release': '1', - 'epoch': '0', - 'arch': 'noarch', - }, - ] - return pkgs else: return [] -- To view, visit http://gerrit.ovirt.org/29282 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7d53b0467f8f2663f42a7665e1cfe611ca66546f Gerrit-PatchSet: 1 Gerrit-Project: ovirt-host-deploy Gerrit-Branch: master Gerrit-Owner: Martin Peřina <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
