
when kernel or kmod is modified The PKG_GITREVCOUNT component of TIS_PATCH_VER will increment every time that a change is delivered to $PKG_BASE for the package. The actual value is the number of commits since PKG_BASE_SRCREV, and an optional plus 1 if there are uncommitted changes. Kmods now add OPT_DEP_LIST_FOR_BUILD_TYPE to list the kernel's source tree as a non-built input to each kmod. If the kernel is modified, the OTHER_GITREVCOUNT component of the TIS_PATCH_VER will increment. The actual value is the number of commits since BASE_SRCREV_FOR_PATH, and an optioanal plus 1 if there are uncommitted changes. So a kernel only change will auto increment and build not only the kernel, but all kmods. A kmod change will only auto-increment the affected kmod. If a package is rebased to a new upstream version, then PKG_BASE_SRCREV, and BASE_SRCREV_FOR_PATH if present, should be adjusted to drop TIS_PATCH_VER to 1. Note: BASE_SRCREV_FOR_PATH for a kmod should NOT be modified if the kernel is rebased to a newer upstream kernel, but the kmod itself has not rebased at the same time. Only adjust BASE_SRCREV_FOR_PATH if the kmod itself has been rebased. Why? The kmod's TIS_PATCH_VER would decrement! Yum will prefer the older build of the kmod, built against the old kernel. The installed kmod and kernel will not match. Story: 2007750 Task: 39937 Depends-On: https://review.opendev.org/734687 Change-Id: Ie8f840934b4ddfd4c09ea3dc738e4f4032683dfc Signed-off-by: Scott Little <scott.little@windriver.com>
10 lines
473 B
Plaintext
10 lines
473 B
Plaintext
COPY_LIST=" \
|
|
$PATCHES_BASE/* \
|
|
$STX_BASE/downloads/opae-intel-fpga-driver-2.0.1.tar.gz"
|
|
OPT_DEP_LIST_FOR_BUILD_TYPE[std]=$GIT_BASE/kernel-std
|
|
OPT_DEP_LIST_FOR_BUILD_TYPE[rt]=$GIT_BASE/kernel-rt
|
|
BASE_SRCREV_FOR_PATH[$GIT_BASE/kernel-std]=145ff64b9734e5c45cfd8eb837a04e257b4b9581
|
|
BASE_SRCREV_FOR_PATH[$GIT_BASE/kernel-rt]=c0fee2da8ef34aa816ddd76690ed425b2ff94c90
|
|
PKG_BASE_SRCREV=b57a3e6641c2bdf826942df3798df77086d06497
|
|
TIS_PATCH_VER=PKG_GITREVCOUNT+OTHER_GITREVCOUNT+1
|