kernel/kernel-std/centos/build_srpm.data
jiping.ma 8f969b2440 kernel: Fix generated tis release number
The TIS_BASE_SRCREV was not updated after moving to 5.10.74 this caused
the TIS_BASE_SRCREV pointing to 5.10.57 which resulted in erratic
release numbers, the large release value is largely the delta between
those two upstream releases. By fixing the TIS_BASE_SRCREV pointing to
5.10.74 the tis release number works as expected again. We'll need to
temporarily add an offset to ensure it does not decrease.

Verification:
- Build out kernel-5.10.74-200.2022.tis.el7.src.rpm and
  kernel-rt-5.10.74-200.2017.tis.rt.el7.src.rpm after the fix.
  tis version number is changed to normal from big value 1802.
- Build out kernel-5.10.74-200.2023.tis.el7.src.rpm after
  the modification for kernel-std/cenos/kernel.spec. std kernel
  tis version number is added one with kernel-std commit.
- Build out kernel-rt-5.11.74-200.2018.tis.rt.el7.src.rpm
  after the modification for kernel-rt/cenos/kernel.spec.
  rt kernel tis version number is added one with kernel rt commit.
- Build out kernel-5.10.74-200.2023.tis.el7.src.rpm and
  kernel-rt-5.10.74-200.2018.tis.rt.el7.src.rpm after the
  modification for kernel-modules/intel-i40e/centos/i40e-kmod.spec.
  tis version number is not changed with module commit.

Closes-Bug: 1952563

Signed-off-by: Jiping Ma <jiping.ma2@windriver.com>
Change-Id: I6d3300cf98af3d72721e8f7a6cb8b10d0a718a41
2022-01-14 21:29:15 +00:00

16 lines
401 B
Plaintext

SRC_DIR="$STX_BASE/git/linux-yocto-std"
COPY_LIST=" \
$PKG_BASE/files/* \
$PKG_BASE/centos/patches/*"
BUILD_IS_BIG=21
BUILD_IS_SLOW=16
# The base branch is: v5.10/standard/base
# commit 9e84a42af6 points to v5.10.74 in linux-yocto.
TIS_BASE_SRCREV=9e84a42af61ff9c6feb89ab8d61ee5f25fb35c72
PKG_BASE_SRCREV=4013790c6ef43fd9f936579b0cac50b8e0c4505a
TIS_PATCH_VER=GITREVCOUNT+PKG_GITREVCOUNT+2000