Bumped Kernel tags using different tags like Lustre.
As Lustre changed more frequently than Kernel changes.
With this change, we only bumped DDN kernel tag
if there is really some kernel changes here.
Change-Id: Icdebe62fe1ef5de2096ae0f568494db394dc04f7
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-on: https://review.whamcloud.com/41827
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
pushd $TOPDIR >/dev/null
# create the buildid
+ local ddn_tag="ddn0"
if $ENABLE_KERNEL_DEBUG; then
- local buildid="_lustre_debug${EXTRA_VERSION##*_lustre}"
+ local buildid="_lustre_debug${EXTRA_VERSION##*_lustre}.${ddn_tag}"
else
- local buildid="_lustre${EXTRA_VERSION##*_lustre}"
+ local buildid="_lustre${EXTRA_VERSION##*_lustre}.${ddn_tag}"
fi
# edit the SPEC with our changes