From 67e8b72e791bdd7ab47214ad8811c5bb5cb66cfb Mon Sep 17 00:00:00 2001 From: Jakub Latusek Date: Mon, 22 May 2023 19:24:19 +0200 Subject: [PATCH] Tizen: Add platform certificate (#26720) * Tizen: Add platform certificate * Restyled by shellharden --------- Co-authored-by: Restyled.io --- .../chip-build-tizen/tizen-sdk-installer/install.sh | 12 ++++++++++++ integrations/docker/images/chip-build/version | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/integrations/docker/images/chip-build-tizen/tizen-sdk-installer/install.sh b/integrations/docker/images/chip-build-tizen/tizen-sdk-installer/install.sh index d072e936b14a64..e206e71c19a3a6 100755 --- a/integrations/docker/images/chip-build-tizen/tizen-sdk-installer/install.sh +++ b/integrations/docker/images/chip-build-tizen/tizen-sdk-installer/install.sh @@ -229,10 +229,18 @@ function install_tizen_sdk() { 'capi-network-bluetooth-devel-*.armv7l.rpm' 'capi-network-nsd-*.armv7l.rpm' 'capi-network-thread-*.armv7l.rpm' + 'capi-system-peripheral-io-*.armv7l.rpm' + 'capi-system-peripheral-io-devel-*.armv7l.rpm' 'capi-system-resource-1*.armv7l.rpm' 'libnsd-dns-sd-*.armv7l.rpm') download "$URL" "${PKG_ARR[@]}" + # Tizen Developer Platform Certificate + URL="http://download.tizen.org/sdk/extensions/Tizen_IoT_Headless/binary/" + PKG_ARR=( + "$TIZEN_VERSION-iot-things-add-ons_*_ubuntu-64.zip") + download "$URL" "${PKG_ARR[@]}" + # Install all info "Installing Tizen SDK..." @@ -254,6 +262,10 @@ function install_tizen_sdk() { echo "TIZEN_SDK_DATA_PATH=$TIZEN_SDK_DATA_PATH" >>"$TIZEN_SDK_ROOT/sdk.info" ln -sf "$TIZEN_SDK_DATA_PATH/.tizen-cli-config" "$TIZEN_SDK_ROOT/tools/.tizen-cli-config" + # Use Tizen developer platform certificate as default + cp "$TIZEN_SDK_ROOT"/tools/certificate-generator/certificates/distributor/sdk-platform/* \ + "$TIZEN_SDK_ROOT"/tools/certificate-generator/certificates/distributor/ + # Make symbolic links relative find "$TIZEN_SDK_SYSROOT/usr/lib" -maxdepth 1 -type l | while IFS= read -r LNK; do ln -sf "$(basename "$(readlink "$LNK")")" "$LNK" diff --git a/integrations/docker/images/chip-build/version b/integrations/docker/images/chip-build/version index 41c06f97e195e2..35e4d429b456b1 100644 --- a/integrations/docker/images/chip-build/version +++ b/integrations/docker/images/chip-build/version @@ -1 +1 @@ -0.7.11 Version bump reason: [Telink] Update Docker image (Zephyr update) +0.7.12 Version bump reason: [Tizen] Add platform certificate