diff options
author | Denys Dmytriyenko <denys@konsulko.com> | 2023-12-13 18:08:10 +0000 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2023-12-13 12:27:39 -0600 |
commit | 328bc9227fc56624b0b908e30a3b55641e003d61 (patch) | |
tree | d48e7e84914b11d9e022db57fb6b3c976186f987 /meta-ti-bsp/recipes-graphics/mesa | |
parent | 5dd8e7f62b607be66c25e1e5122061ca8a6bf6b3 (diff) | |
download | meta-ti-cicd.master.202312220100.tar.gz |
mesa-pvr: adjust PR to be RPM-safecicd.master.202401090100cicd.master.202401040100cicd.master.202401030100cicd.master.202401010100cicd.master.202312280100cicd.master.202312270100cicd.master.202312260100cicd.master.202312220100cicd.master.202312200100cicd.master.202312190100cicd.master.202312180100
RPM does not accept '-' as a character in the PR/version and fails with:
| error: line 4: Illegal char '-' (0x2d) in: Release: sgxrgx-54fd9d7dea098b6f11c2a244b0c6763dc8c5690c.1
The correct approach is to reference SRCPV and not SRCREV and also add it
to PV and not PR. But PV is used in the branch to fetch the sources and
cannot be modified, so use SRCPV in PR w/o any illegal characters.
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/recipes-graphics/mesa')
-rw-r--r-- | meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb index 55dad414..554fadd3 100644 --- a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb +++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb | |||
@@ -32,7 +32,7 @@ PACKAGECONFIG:append = " \ | |||
32 | # Idea is these two should be the same, but currently a segfault is happening | 32 | # Idea is these two should be the same, but currently a segfault is happening |
33 | # on certain platforms if the sgx commit is used. | 33 | # on certain platforms if the sgx commit is used. |
34 | SRCREV = "${@bb.utils.contains('PACKAGECONFIG', 'sgx', '7c9522a4147836064f582278e4f7115735c16868', '54fd9d7dea098b6f11c2a244b0c6763dc8c5690c', d)}" | 34 | SRCREV = "${@bb.utils.contains('PACKAGECONFIG', 'sgx', '7c9522a4147836064f582278e4f7115735c16868', '54fd9d7dea098b6f11c2a244b0c6763dc8c5690c', d)}" |
35 | PR = "sgxrgx-${SRCREV}" | 35 | PR = "sgxrgx${SRCPV}" |
36 | 36 | ||
37 | PVR_DISPLAY_CONTROLLER_ALIAS ??= "tidss" | 37 | PVR_DISPLAY_CONTROLLER_ALIAS ??= "tidss" |
38 | PACKAGECONFIG[pvr] = "-Dgallium-pvr-alias=${PVR_DISPLAY_CONTROLLER_ALIAS}," | 38 | PACKAGECONFIG[pvr] = "-Dgallium-pvr-alias=${PVR_DISPLAY_CONTROLLER_ALIAS}," |