From cb3c1c631d7385208d5cdb6da12cf48183f53b8e Mon Sep 17 00:00:00 2001
From: Marta Rybczynska <marta.rybczynska@huawei.com>
Date: Mon, 29 Nov 2021 07:44:58 +0100
Subject: [PATCH] oniro-linux.conf: set preferred python version to 3.8.12

Set the preferred Python version to 3.8.12 with security
fixes.

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
---
 meta-oniro-core/conf/distro/oniro-linux.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oniro-core/conf/distro/oniro-linux.conf b/meta-oniro-core/conf/distro/oniro-linux.conf
index 326adf5e..aac51d3d 100644
--- a/meta-oniro-core/conf/distro/oniro-linux.conf
+++ b/meta-oniro-core/conf/distro/oniro-linux.conf
@@ -123,6 +123,8 @@ PREFERRED_PROVIDER_virtual/kernel_qemu-generic-arm64 = "linux-oniro"
 # qemu-generic-arm64 specific requirements
 PREFERRED_VERSION_optee-os_qemu-generic-arm64 = "3.14.0"
 
+PREFERRED_VERSION_python = "3.8.12"
+
 # Default to enabling serial debug console on RaspberryPi
 ENABLE_UART ?= "1"
 
-- 
GitLab