From 88d4569971052a3c621317e8b1ef87737ccc8462 Mon Sep 17 00:00:00 2001 From: Jakub Latusek Date: Mon, 22 May 2023 11:06:56 +0200 Subject: [PATCH] Tizen: Add platform certificate --- .../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..3abe7a23f22077 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