# increment this if you have made a change that should force a new kernel
# to build built
-BUILD_GEN+=".0" # TT-107: don't cache the BUILD dir (reset major to 5)
+BUILD_GEN+=".1" #LU-3337 add missing build files for sles11sp2 server
DEVEL_KERNEL_TYPE="source"
RPM_HELPERS_DIR="/usr/lib/rpm"
prepare_and_build_srpm() {
pushd $TOPDIR >/dev/null
- # all of the specs but one are put into SOURCES, so let's just move
- # the one lone one in SPECS into SOURCES and just reference them from
- # there
- mv SPECS/*.spec SOURCES/
# generate our buildid
local buildid="lustre${EXTRA_VERSION##*_lustre}"
echo "--define \'jobs $(/usr/bin/getconf _NPROCESSORS_ONLN)\'"
return 0
}
+
+# This function digs out the linux release from a linux-obj tree
+find_linux_release() {
+ _find_linux_release $LINUXOBJ
+}