Whamcloud - gitweb
LU-9850 patchless client should conflict patched kernel 37/28437/7
authorBrian J. Murrell <brian.murrell@intel.com>
Wed, 9 Aug 2017 15:09:44 +0000 (11:09 -0400)
committerJohn L. Hammond <john.hammond@intel.com>
Fri, 18 Aug 2017 20:56:00 +0000 (20:56 +0000)
commitb4bec6e0dc098b62b0146e0f625f0a6c4ffd0d04
treeeb06d2b9a9ea74d7edc4c748a2f3c8ddd4b80a4b
parente53c0fbeefc1c29d7b5256c6a4cc6ead96ae41e8
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.

Signed-off-by: Brian J. Murrell <brian.murrell@intel.com>
Change-Id: If9c44a93937cd7603b0246676ebc9c8260a43b11
Reviewed-on: https://review.whamcloud.com/28437
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
contrib/lbuild/lbuild
contrib/lbuild/lbuild-rhel
contrib/lbuild/lbuild-rhel7