fatal 1 "Unpack error for $kernelrpm"
fi
+ if ! kernelrpm=$(find_rpm "$rpmdir" provides "^kernel-(lustre-)?default-devel = $wanted_kernel"); then
+ fatal 1 "Could not find the kernel-default-devel in $rpmdir/"
+ fi
+
+ if ! rpm2cpio < "$rpmdir/$kernelrpm" | cpio -id > /dev/null 2>&1; then
+ fatal 1 "Unpack error for $kernelrpm"
+ fi
+
+}
+
+find_linux_rpm-sles11() {
+ local prefix="$1"
+ local wanted_kernel="$2"
+ local pathtorpms=${3:-"${KERNELRPMSBASE}/${lnxmaj}/${DISTRO}/${TARGET_ARCH}"}
+
+ # what, oh what, do we do for sles11?
+ # if anyone knows how we get an arbitrary (kernel-source and
+ # kernel-default-base in this case) from the Suse update mechanism,
+ # please feel free to fix this
+
+ fatal 1 "I don't know how to get packages for SLES11"
+
+ return 0
+
}
-lnxmaj="2.6.27"
-lnxmin=".23"
-lnxrel="0.1"
+lnxmaj="2.6.32"
+lnxmin=".36"
+lnxrel="0.5"
# use this when there is an "RPM fix" which means that the name of the
# (source) RPM has been updated but the version of the kernel inside the
# RPM is not also updated
-#rpmfix=".1"
+rpmfix=".2"
# this is the delimeter that goes before the "smp" at the end of the version
# defaults to empty
EXTRA_VERSION="${lnxmin#.}-${lnxrel}_lustre.@VERSION@"
LUSTRE_VERSION=@VERSION@
-OFED_VERSION=1.5.1
+OFED_VERSION=inkernel
BASE_ARCHS="i686 ppc x86_64 ia64 ppc64"
BIGMEM_ARCHS=""