From d78ac0a7852502d3e9b794c10e1ce0e9b1f23044 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B3=93=E5=B0=91=E9=88=BA?= <51807939+geans-pin@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:57:10 +0800 Subject: [PATCH] Update brcm_common_config_ut.sh change sai.profile search path from HWSKU to /etc/sai.d --- syncd/scripts/brcm_common_config_ut.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/syncd/scripts/brcm_common_config_ut.sh b/syncd/scripts/brcm_common_config_ut.sh index cf9fd5ebe..9f3dcb1e1 100644 --- a/syncd/scripts/brcm_common_config_ut.sh +++ b/syncd/scripts/brcm_common_config_ut.sh @@ -1,10 +1,12 @@ #!/bin/bash ###BRCM Common config UT#### HWSKU_DIR=/usr/share/sonic/hwsku +SAI_PROFILE_DIR=/etc/sai.d PLATFORM_COMMON_DIR=/usr/share/sonic/device/x86_64-broadcom_common -PLT_SAI_PROFILE=$(find $HWSKU_DIR -name 'sai.profile') +PLT_SAI_PROFILE=$(find $SAI_PROFILE_DIR -name 'sai.profile') readline=$(grep SAI_INIT_CONFIG_FILE $PLT_SAI_PROFILE) PLATFORM_DIR=/usr/share/sonic/platform + PLT_CONFIG_BCM="" PLT_CONFIG_YML=""