Skip to content

Commit 48d9d85

Browse files
committed
[script] use new trusted public URL to download slc_cli zip files
1 parent b98ea6a commit 48d9d85

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

script/bootstrap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ install_packages_apt()
5252
coreutils
5353
git
5454
git-lfs
55-
openjdk-17-jre-headless
55+
openjdk-21-jre-headless
5656
ninja-build
5757
python3-pip
5858
python3-setuptools

script/bootstrap_silabs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ install_slc_cli()
5454
os_type="mac"
5555
fi
5656

57-
local zip_url="https://www.silabs.com/documents/login/software/slc_cli_${os_type}.zip"
57+
local zip_url="https://www.silabs.com/documents/public/software/slc_cli_${os_type}.zip"
5858
mkdir -p "${SLC_INSTALL_DIR}"
5959
pushd "${SLC_INSTALL_DIR}"
6060
local zip_path="./slc_cli.zip"

script/generate

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ trust_sdk_and_extensions()
9090
echo "======================================================================"
9191
set -x
9292

93+
# Ensure .uc folder exists
94+
sudo mkdir -p "/.uc/"
95+
9396
# Trust the Simplicity SDK submodule
9497
run_slc -v 1 signature trust --sdk "${sdk_dir}" -data "${openthread_slc_data}"
9598

@@ -252,7 +255,10 @@ generate()
252255

253256
cleanup()
254257
{
255-
# Placeholder for any cleanup tasks
258+
# print out slc logs if any
259+
find /opt/slc_cli/slc_cli/bin/slc-cli/configuration/ -type f -name "*.log" -exec cat {} +
260+
261+
# Placeholder for any other cleanup tasks
256262
:
257263
}
258264

0 commit comments

Comments
 (0)