Whamcloud - gitweb
LU-9850 patchless client should conflict patched kernel 57/28557/3
authorBrian J. Murrell <brian.murrell@intel.com>
Wed, 9 Aug 2017 15:09:44 +0000 (11:09 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 17 Aug 2017 17:37:54 +0000 (17:37 +0000)
commitbebfcbf008e6b1bc566c3abebf46fefbe6c8b5e8
tree7cd88b758e08d02ac3c73ae6e36f6bb4b7b4a0a3
parent6ab9866730c1bd2344869502586fc322f6ed7b71
LU-9850 patchless client should conflict patched kernel

Due to how dependencies work in RPM (and a bug in how kmod RPMs generate
their dependency lists), on a node where the server and client repos are
both configured, YUM could allow the patched kernel to satisfy the
patchless-client RPM's requirements.

Add Conflicts: and Provides: to the kernel RPM and lustre-client RPM to
prevent this from happening.

This change also allows one to force the installation of the patched
kernel RPM (yum install kernel-lustre) if one desires.

Test-Parameters: trivial

Signed-off-by: Brian J. Murrell <brian.murrell@intel.com>
Change-Id: If9c44a93937cd7603b0246676ebc9c8260a43b11
Reviewed-on: https://review.whamcloud.com/28557
Tested-by: Jenkins
Reviewed-by: Minh Diep <minh.diep@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
contrib/lbuild/lbuild
contrib/lbuild/lbuild-rhel
contrib/lbuild/lbuild-rhel7