From 98bf8cfd232187bb3804b626f70de89ad0a57275 Mon Sep 17 00:00:00 2001 From: zhiqifeiyang <11212419+zhiqifeiyang@user.noreply.gitee.com> Date: Sat, 6 May 2023 07:43:37 +0000 Subject: [PATCH] anolis23 not support python36, skip it! Signed-off-by: zhiqifeiyang <11212419+zhiqifeiyang@user.noreply.gitee.com> --- tests/xfstests/install.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/xfstests/install.sh b/tests/xfstests/install.sh index 93c0cc6..d78bb69 100644 --- a/tests/xfstests/install.sh +++ b/tests/xfstests/install.sh @@ -25,6 +25,14 @@ else fi fi +os_ver=$(uname -r | awk -F '.' '{print$(NF-1)}') +kernel_ver=$(uname -r | awk -F '.' '{print$1"."$2}') +# https://bugzilla.openanolis.cn/show_bug.cgi?id=4693 +if [ x"$os_ver" == x"an23" -a x"$kernel_ver" == x"5.10" ]; then + DEP_PKG_LIST=$(echo ${DEP_PKG_LIST/python36/}) +fi + + fetch() { echo "\$XFSTESTS_GIT_URL for git clone or update" -- Gitee