Whamcloud - gitweb
LU-6300 build: Kernel string mismatch for ppc64 in RPMs 12/14012/3
authorFrank Heckes <frank.heckes@intel.com>
Mon, 9 Mar 2015 10:44:30 +0000 (11:44 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 16 Apr 2015 14:48:23 +0000 (14:48 +0000)
commita4bcfa9c49abae8035b05d94a09352aae01bd77d
tree17296260dcc8d71b2aeadd5aa39c6bf6fd48da55
parent25670bb8c21deb64cfbb277bdeeab6e7ee39aa0e
LU-6300 build: Kernel string mismatch for ppc64 in RPMs

The macro in the kernel RPMs for ppc64 provided
by Redhat describing the kernel version supported,
mismatch the content of the macro of the Lustre kernel
client modules for ppc64 describing the required
kernel. This leads to unresolved dependency errors
during installation of the Lustre client modules
although the kernel versions match actually.

While Redhat uses the convention:

kernel = <major-number>-<minor-release-number>.el6

the following string is used in Lustre client RPM
for the required kernel version:

kernel = <major-number>-<minor-release-number>.el6.ppc64

The patch will remove the trailing string '.ppc64' in
macro 'krequires' defined in the lustre specfile
describing the software dependeny.

Signed-off-by: Frank Heckes <frank.heckes@intel.com>
Change-Id: I930d2fe67da819db57a6591341c5a55f0374ad43
Reviewed-on: http://review.whamcloud.com/14012
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Tested-by: Oleg Drokin <oleg.drokin@intel.com>
lustre.spec.in