diff options
author | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2020-01-14 10:55:40 -0800 |
---|---|---|
committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2020-01-14 11:17:08 -0800 |
commit | 565accab1e99c2fe70d33ac68eaa7ff01954497d (patch) | |
tree | 7e89298651e8f2388d9d2751408ada5c70f95d41 | |
parent | f589d60b90da6c3cae49ff898ef3ee622d6c3f7a (diff) | |
download | meta-xilinx-565accab1e99c2fe70d33ac68eaa7ff01954497d.tar.gz |
"**TEMPORARY**" linux-xlnx.inc: Trim PV variable expansion
PV variable is set to expand as PV =
"${LINUX_VERSION}${LINUX_VERSION_EXTENSION}+git${SRCPV}" where:
XILINX_RELEASE_VERSION ?= ""
LINUX_VERSION_EXTENSION ?= "-xilinx-${XILINX_RELEASE_VERSION}"
During package compilation, the sstatecache generates a siginfo filename using
the packagename, PV, machine arch and SRCPV.
For microblaze machines i.e microblazeel-v11.0-bs-cmp-mh-div-generic and
microblazeel-v11.0-bs-cmp-ml-generic, when signinfo file is generated it fails
with the following error: OSError: [Errno 36] File name too long:
'yocto/2020.1/2020.1-next/build/sstate-cache/bd/sigtask.v21dhivl' ->
'yocto/2020.1/2020.1-next/build/sstate-cache/bd/sstate:linux-xlnx:microblazeel_v11.0_bs_cmp_ml_generic-xilinx-linux:4.19-xilinx-v2020.1+gitAUTOINC+3120d3694a:r0:microblazeel_v11.0_bs_cmp_ml_generic:3:bd73041379cd33962d98eb44c1b73f20f24daf3ace4a4ddc605548dc63e7f62d_kernel_version_sanity_check.tgz.siginfo'
To fix the error, trim the PV variable by removing the LINUX_VERSION_EXTENSION
to get PV = "${LINUX_VERSION}+git${SRCPV}"
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
-rw-r--r-- | meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx.inc b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx.inc index 28fdb2cf..6a89fc74 100644 --- a/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx.inc +++ b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx.inc | |||
@@ -1,7 +1,7 @@ | |||
1 | # This version extension should match CONFIG_LOCALVERSION in defconfig | 1 | # This version extension should match CONFIG_LOCALVERSION in defconfig |
2 | XILINX_RELEASE_VERSION ?= "" | 2 | XILINX_RELEASE_VERSION ?= "" |
3 | LINUX_VERSION_EXTENSION ?= "-xilinx-${XILINX_RELEASE_VERSION}" | 3 | LINUX_VERSION_EXTENSION ?= "-xilinx-${XILINX_RELEASE_VERSION}" |
4 | PV = "${LINUX_VERSION}${LINUX_VERSION_EXTENSION}+git${SRCPV}" | 4 | PV = "${LINUX_VERSION}+git${SRCPV}" |
5 | 5 | ||
6 | # Sources, by default allow for the use of SRCREV pointing to orphaned tags/commits | 6 | # Sources, by default allow for the use of SRCREV pointing to orphaned tags/commits |
7 | KBRANCH ?= "" | 7 | KBRANCH ?= "" |