ti-bsp: Tighten up versions for PREFERRED_VERSION
PATCH 1/1 ti-bsp: Tighten up versions for PREFERRED_VERSION
PREFERRED_VERSION matches against the PV in the recipe, not against the file name. With the upcoming 6.12, the 6.1 kernel version string was a little too loose. The "6.1%" could glob onto the 6.12 recipe. Take this time to also clean up a couple of the other versions and narrow them down.
--- meta-ti-bsp/conf/machine/include/ti-bsp.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta-ti-bsp/conf/machine/include/ti-bsp.inc +3 -3
@@ -53,7 +53,7 @@ MACHINE_FEATURES:remove:bsp-ti-6_12 = "gpu" # TI staging kernel 6.6, u-boot 2024.04 # ========== BSP_KERNEL_PROVIDER:bsp-ti-6_6 = "linux-ti-staging" -BSP_KERNEL_VERSION:bsp-ti-6_6 = "6.6%" +BSP_KERNEL_VERSION:bsp-ti-6_6 = "6.6.%" BSP_BOOTLOADER_PROVIDER:bsp-ti-6_6 = "u-boot-ti-staging" BSP_BOOTLOADER_VERSION:bsp-ti-6_6 = "2024.04%"
@@ -68,9 +68,9 @@ BSP_MESA_PVR_VERSION:bsp-ti-6_6 = "23%" # TI staging kernel 6.1, u-boot 2023.04 # ========== BSP_KERNEL_PROVIDER:bsp-ti-6_1 = "linux-ti-staging" -BSP_KERNEL_VERSION:bsp-ti-6_1 = "6.1%" +BSP_KERNEL_VERSION:bsp-ti-6_1 = "6.1.%" BSP_BOOTLOADER_PROVIDER:bsp-ti-6_1 = "u-boot-ti-staging" -BSP_BOOTLOADER_VERSION:bsp-ti-6_1 = "2023%" +BSP_BOOTLOADER_VERSION:bsp-ti-6_1 = "2023.04%" BSP_SGX_DRIVER_PROVIDER:bsp-ti-6_1 = "ti-sgx-ddk-km" BSP_SGX_DRIVER_VERSION:bsp-ti-6_1 = "1.17%"
Signature · 1 line
2.17.1
Quoted 5 lines · Ryan Eatmon via lists.yoctoproject.org
PREFERRED_VERSIONmatches against the PV in the recipe, not against the file name. With the upcoming 6.12, the 6.1 kernel version string was a little too loose. The "6.1%" could glob onto the 6.12 recipe. Take this time to also clean up a couple of the other versions and narrow them down.
While this is Ok for stable versions in general, which have 6.1.y versioning, the first release in the series has implied ".0" and when Linus released it, it was versioned as 6.1 (not 6.1.0) until Greg made the first stable release as 6.1.1. Just something to keep in mind... I see you haven't changed 6.12% matching, so it should be fine even for the first release, when it's out.
Quoted 32 lines
Signed-off-by Ryan Eatmon <[email protected]>--- meta-ti-bsp/conf/machine/include/ti-bsp.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)meta-ti-bsp/conf/machine/include/ti-bsp.inc +3
-3@@ -53,7 +53,7 @@ MACHINE_FEATURES:remove:bsp-ti-6_12 = "gpu" # TI staging kernel 6.6, u-boot 2024.04 # ========== BSP_KERNEL_PROVIDER:bsp-ti-6_6 = "linux-ti-staging" -BSP_KERNEL_VERSION:bsp-ti-6_6 = "6.6%" +BSP_KERNEL_VERSION:bsp-ti-6_6 = "6.6.%" BSP_BOOTLOADER_PROVIDER:bsp-ti-6_6 = "u-boot-ti-staging" BSP_BOOTLOADER_VERSION:bsp-ti-6_6 = "2024.04%"@@ -68,9 +68,9 @@ BSP_MESA_PVR_VERSION:bsp-ti-6_6 = "23%" # TI staging kernel 6.1, u-boot 2023.04 # ========== BSP_KERNEL_PROVIDER:bsp-ti-6_1 = "linux-ti-staging" -BSP_KERNEL_VERSION:bsp-ti-6_1 = "6.1%" +BSP_KERNEL_VERSION:bsp-ti-6_1 = "6.1.%" BSP_BOOTLOADER_PROVIDER:bsp-ti-6_1 = "u-boot-ti-staging" -BSP_BOOTLOADER_VERSION:bsp-ti-6_1 = "2023%" +BSP_BOOTLOADER_VERSION:bsp-ti-6_1 = "2023.04%" BSP_SGX_DRIVER_PROVIDER:bsp-ti-6_1 = "ti-sgx-ddk-km" BSP_SGX_DRIVER_VERSION:bsp-ti-6_1 = "1.17%"Signature · 1 line
2.17.1