Add a core-next brand branding type to be able to re-direct the recipe
preferred providers or versions to highest PV'd recipe. The
branding-core should indicate the current version to build if not the
highest version.

For the purpose of an example the Arago distribution will be migrating
from the 5.4 kernel to the 5.10 during the 2021 time frame.  In order to
assist with a smoother migration the distribution needs to be able to
build the 5.4 kernel for the core brand and build the 5.10 kernel for
the core-next.

Once the transition from 5.4->5.10 kernel is done then the
PREFERRED_VERSION in the branding-core.inc can be removed.

From: Dan Murphy <dmur...@ti.com>
Signed-off-by: Dan Murphy <dmur...@ti.com>
---
 .../conf/distro/include/branding-core-next.inc            | 8 ++++++++
 meta-arago-distro/conf/distro/include/branding-core.inc   | 5 +++++
 2 files changed, 13 insertions(+)
 create mode 100644 meta-arago-distro/conf/distro/include/branding-core-next.inc

diff --git a/meta-arago-distro/conf/distro/include/branding-core-next.inc 
b/meta-arago-distro/conf/distro/include/branding-core-next.inc
new file mode 100644
index 000000000000..3828a8d72593
--- /dev/null
+++ b/meta-arago-distro/conf/distro/include/branding-core-next.inc
@@ -0,0 +1,8 @@
+# Special "migration" branding for testing components that are to be updated 
in LTS migration
+
+require branding-core.inc
+
+PREFERRED_VERSION_linux-ti-staging = ""
+PREFERRED_VERSION_linux-ti-staging-rt = ""
+PREFERRED_VERSION_linux-ti-staging-systest = ""
+PREFERRED_VERSION_u-boot-ti-staging = ""
diff --git a/meta-arago-distro/conf/distro/include/branding-core.inc 
b/meta-arago-distro/conf/distro/include/branding-core.inc
index cab9831be9f9..2e3759ebf4ef 100644
--- a/meta-arago-distro/conf/distro/include/branding-core.inc
+++ b/meta-arago-distro/conf/distro/include/branding-core.inc
@@ -11,3 +11,8 @@ ALTERNATIVE_PRIORITY_pn-opencl-monitor-ipu = "1"
 
 # Raise priority for sample IPC FW images
 ALTERNATIVE_PRIORITY_pn-ti-ipc-rtos = "15"
+
+PREFERRED_VERSION_linux-ti-staging = "5.4%"
+PREFERRED_VERSION_linux-ti-staging-rt = "5.4%"
+PREFERRED_VERSION_linux-ti-staging-systest = "5.4%"
+PREFERRED_VERSION_u-boot-ti-staging = "2020.01%"
-- 
2.29.2

_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to