#BUILD_GEN=1
#BUILD_GEN=2 # bz19952: remove -lustre tag from kernel RPM names
#BUILD_GEN=3 # bz19975: enable the building of src.rpms by default
-BUILD_GEN=4 # bz22281: use the git hash in the kernel extra version
+#BUILD_GEN=4 # bz22281: use the git hash in the kernel extra version
+BUILD_GEN=5 # TT-107: don't cache the BUILD dir
TOPDIR=$PWD
else
# store the resulting kernel RPM build tree for future use
echo "Storing the built kernel for future reuse" >&${outfd}
- if ! store_for_reuse "$TOPDIR/{SPECS,SOURCES,BUILD,SRPMS,RPMS}" \
+ if ! store_for_reuse "$TOPDIR/{SPECS,SOURCES,SRPMS,RPMS}" \
"kernel" "$REUSEBUILD" "$REUSE_SIGNATURE" \
"$CAN_LINK_FOR_REUSE"; then
error "Failed to store kernel RPMS for reuse"
# to build built
#BUILD_GEN=1
#BUILD_GEN=2 # bz19952: remove -lustre tag from kernel RPM names
-BUILD_GEN=3 # bz19975 enable the building of src.rpms by default
+#BUILD_GEN=3 # bz19975 enable the building of src.rpms by default
+BUILD_GEN+=".0" # TT-107: don't cache the BUILD dir (reset major to 5)
# to build built
#BUILD_GEN=1
#BUILD_GEN=2 # bz19952: remove -lustre tag from kernel RPM names
-BUILD_GEN=3 # bz19975 enable the building of src.rpms by default
+#BUILD_GEN=3 # bz19975 enable the building of src.rpms by default
+BUILD_GEN+=".0" # TT-107: don't cache the BUILD dir (reset major to 5)
# to build built
#BUILD_GEN=1
#BUILD_GEN=2 # bz19952: remove -lustre tag from kernel RPM names
-BUILD_GEN=3 # bz19975 enable the building of src.rpms by default
-
-
+#BUILD_GEN=3 # bz19975 enable the building of src.rpms by default
+BUILD_GEN+=".0" # TT-107: don't cache the BUILD dir (reset major to 5)
# to force a kernel build on all distributions, update the BUILD_GEN variable
# in build/lbuild)
#BUILD_GEN+=".0"
-BUILD_GEN+=".1" # refactor both rhel5 and rhel6
+#BUILD_GEN+=".1" # refactor both rhel5 and rhel6
+BUILD_GEN+=".0" # TT-107: don't cache the BUILD dir (reset major to 5)
DEVEL_KERNEL_TYPE="devel"
RPM_HELPERS_DIR="/usr/lib/rpm/redhat"
# variable in build/lbuild-rhel and if you want to force kernel bulid for all
# distributions, update the BUILD_GEN variable in build/lbuild)
#BUILD_GEN+=".0"
-BUILD_GEN+=".1" # added --with firmware to rpmbuild for rhel6
+#BUILD_GEN+=".1" # added --with firmware to rpmbuild for rhel6
+BUILD_GEN+=".0" # TT-107: don't cache the BUILD dir (reset major to 5)
source ${0%/*}/lbuild-rhel
# vim:expandtab:shiftwidth=4:softtabstop=4:tabstop=4:
+# 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)
+
DEVEL_KERNEL_TYPE="source"
RPM_HELPERS_DIR="/usr/lib/rpm"