Skip to content

Commit

Permalink
Tizen: Add platform certificate (#26720)
Browse files Browse the repository at this point in the history
* Tizen: Add platform certificate

* Restyled by shellharden

---------

Co-authored-by: Restyled.io <commits@restyled.io>
  • Loading branch information
2 people authored and pull[bot] committed Feb 8, 2024
1 parent a883638 commit 2645105
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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..."

Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion integrations/docker/images/chip-build/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.11 Version bump reason: [Telink] Update Docker image (Zephyr update)
0.7.12 Version bump reason: [Tizen] Add platform certificate

0 comments on commit 2645105

Please sign in to comment.