[yocto] linux-xilinx: SRCPV, SRCREV, LINUX_VERSION and the actually generated kernel version
Elvis Dowson
elvis.dowson at gmail.com
Fri Jun 22 12:39:10 PDT 2012
Hi,
Even though I specify a specific value for SRCREV, as follows, SRCPV is always set to the latest commit it. The generated package folder gets the latest commit id appended because of SRCPV. So what should I do, append SRCREV or SRCPV for recipes that fetch from a git repository?
For example, for the linux-xilinx_git.bb recipe, I have the following
SRCREV = "a5556fb251253ccb674bd22d9703c37f6f8807a8"
SRC_URI = "git://git.xilinx.com/linux-xlnx.git;protocol=git;branch=${KBRANCH} \
file://defconfig"
LINUX_VERSION = "2.6.37"
PR = "r17"
PV = "${LINUX_VERSION}+git${SRCPV}"
NOTE: package linux-xilinx-2.6.37+git1+ed63a4d76efadcb68f5776e4244766ffea226cc4-r17: task do_fetch: Started
The package folder name that gets generated is as follows (SRCPV). I notice that nearly all the recipes that fetch from git use SRCPV. In my specific case, should I be using SRCREV instead? I would like to know when to use SRCPV and SRCREV, while working with recipes that fetch from git repositories.
Best regards,
Elvis Dowson
More information about the yocto
mailing list