File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff line change @@ -84,6 +84,20 @@ trust_sdk_and_extensions()
8484 extension_dirs+=(" ${vendor_extension_abs_path} " )
8585 fi
8686
87+ set +x
88+ echo " ======================================================================"
89+ echo " Setting USER_HOME"
90+ echo " ======================================================================"
91+ if [[ -z " ${HOME} " ]]; then
92+ echo " ERROR: HOME environment variable is not set" >&2
93+ exit 5
94+ fi
95+
96+ USER_HOME=" ${HOME} "
97+ export USER_HOME
98+ echo " USER_HOME is now set to: '${USER_HOME} '"
99+ set -x
100+
87101 set +x
88102 echo " ======================================================================"
89103 echo " Trusting Simplicity SDK :'${sdk_dir} ':"
@@ -252,7 +266,10 @@ generate()
252266
253267cleanup ()
254268{
255- # Placeholder for any cleanup tasks
269+ # print out slc logs if any
270+ find /opt/slc_cli/slc_cli/bin/slc-cli/configuration/ -type f -name " *.log" -exec cat {} +
271+
272+ # Placeholder for any other cleanup tasks
256273 :
257274}
258275
You can’t perform that action at this time.
0 commit comments