From 35112911a12622055838126b08a15593570e8216 Mon Sep 17 00:00:00 2001 From: "Xida Ren (Cedar)" Date: Tue, 23 Apr 2024 02:09:26 -0400 Subject: [PATCH 1/2] update local install script to newest zsdk version & use xz instead of gz --- scripts/zmk_local_install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/zmk_local_install.sh b/scripts/zmk_local_install.sh index cd34fcd3b..33bf71035 100755 --- a/scripts/zmk_local_install.sh +++ b/scripts/zmk_local_install.sh @@ -15,17 +15,17 @@ sudo apt-get install --yes --no-install-recommends git cmake ninja-build gperf \ # Find latest release version # ZSDK_URL="https://github.com/zephyrproject-rtos/sdk-ng/releases/latest" # ZSDK_VERSION="$(curl -fsSLI -o /dev/null -w %{url_effective} ${ZSDK_URL} | sed 's/^.*v//')" -ZSDK_VERSION="0.15.2" +ZSDK_VERSION="0.16.5-1" # Download and verify latest Zephyr SDK bundle cd ~/.local -wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${ZSDK_VERSION}/zephyr-sdk-${ZSDK_VERSION}_linux-x86_64.tar.gz +wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${ZSDK_VERSION}/zephyr-sdk-${ZSDK_VERSION}_linux-x86_64.tar.xz wget -O - https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${ZSDK_VERSION}/sha256.sum | shasum --check --ignore-missing ## TODO: abort if exit code is error # Extract the Zephyr SDK bundle archive -tar xvf zephyr-sdk-${ZSDK_VERSION}_linux-x86_64.tar.gz -rm zephyr-sdk-${ZSDK_VERSION}_linux-x86_64.tar.gz +tar xvf zephyr-sdk-${ZSDK_VERSION}_linux-x86_64.tar.xz +rm zephyr-sdk-${ZSDK_VERSION}_linux-x86_64.tar.xz # Run the Zephyr SDK bundle setup script cd zephyr-sdk-${ZSDK_VERSION} From a78aa59a4b1b78e26767de100f0291817cc1d3fe Mon Sep 17 00:00:00 2001 From: Robert U <978080+urob@users.noreply.github.com> Date: Fri, 26 Jul 2024 09:31:34 -0400 Subject: [PATCH 2/2] Update scripts/zmk_local_install.sh --- scripts/zmk_local_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/zmk_local_install.sh b/scripts/zmk_local_install.sh index 33bf71035..f48cab20b 100755 --- a/scripts/zmk_local_install.sh +++ b/scripts/zmk_local_install.sh @@ -15,7 +15,7 @@ sudo apt-get install --yes --no-install-recommends git cmake ninja-build gperf \ # Find latest release version # ZSDK_URL="https://github.com/zephyrproject-rtos/sdk-ng/releases/latest" # ZSDK_VERSION="$(curl -fsSLI -o /dev/null -w %{url_effective} ${ZSDK_URL} | sed 's/^.*v//')" -ZSDK_VERSION="0.16.5-1" +ZSDK_VERSION="0.16.3" # Download and verify latest Zephyr SDK bundle cd ~/.local