From 1d6044dd0d5ef8425151b14ef7c555c1072ead74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BB=E5=8C=97=E5=86=B5=E5=BD=92?= <2692032597@qq.com> Date: Sat, 11 Feb 2023 03:04:26 +0000 Subject: [PATCH] update scripts/tools_checker.py. Signed-off-by: from-north-to-north <2692032597@qq.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 离北况归 <2692032597@qq.com> --- scripts/tools_checker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tools_checker.py b/scripts/tools_checker.py index 118e1d33cc..08cdb228da 100644 --- a/scripts/tools_checker.py +++ b/scripts/tools_checker.py @@ -49,8 +49,8 @@ def package_installed(pkg_name): def check_build_requried_packages(host_version, check=True): """Check whether packages required by build process installed or not. By parsing file `REPO_ROOT/build/scripts/build_package_list.json`. - Example content: `{"18.04":{"dep_package":["pkg1","pkg2",...]}, "20.04":{...}}` - Currently there are only lists for `Ubuntu 18.04` and `Ubuntu 20.04`. + Example content: `{"18.04":{"dep_package":["pkg1","pkg2",...]}, "20.04":{...}, "22.04":{...}}` + Currently there are only lists for `Ubuntu 18.04` , `Ubuntu 20.04` and `Ubuntu 22.04`. :param host_version: OS version of the host. :param check: Whether to prompt user of missing package. :return _build_package_list: List of packages required by build process. -- Gitee