Skip to content

Commit 859ee35

Browse files
jlatusekarkq
andauthoredAug 14, 2024
[Tizen] Update Tizen SDK to 8.0 (#34171)
* Update tizen to 8.0 * Install platform certificate * Reverse restyle diff * Review fix - version update * Add information about used 7.0 tizen package --------- Co-authored-by: Arkadiusz Bokowy <a.bokowy@samsung.com>
1 parent 6ed8111 commit 859ee35

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
71 : [NXP] Update k32w1 SDK as it will use common NXP SDK
1+
72 : Update Tizen version to 8.0

‎integrations/docker/images/stage-2/chip-build-tizen/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN set -x \
2020

2121
# ------------------------------------------------------------------------------
2222
# Install tizen
23-
ENV TIZEN_VERSION 7.0
23+
ENV TIZEN_VERSION 8.0
2424
ENV TIZEN_SDK_ROOT /opt/tizen-sdk
2525

2626
COPY tizen-sdk-installer $TIZEN_SDK_ROOT/files/installer
@@ -35,7 +35,7 @@ RUN set -x \
3535
# ------------------------------------------------------------------------------
3636
# Set environment
3737
ENV TIZEN_SDK_TOOLCHAIN $TIZEN_SDK_ROOT/tools/arm-linux-gnueabi-gcc-9.2
38-
ENV TIZEN_SDK_SYSROOT $TIZEN_SDK_ROOT/platforms/tizen-$TIZEN_VERSION/mobile/rootstraps/mobile-$TIZEN_VERSION-device.core
38+
ENV TIZEN_SDK_SYSROOT $TIZEN_SDK_ROOT/platforms/tizen-$TIZEN_VERSION/tizen/rootstraps/tizen-$TIZEN_VERSION-device.core
3939
ENV PATH="$TIZEN_SDK_TOOLCHAIN/bin:$TIZEN_SDK_ROOT/tools/ide/bin:$TIZEN_SDK_ROOT/tools:$PATH"
4040

4141
# ------------------------------------------------------------------------------

‎integrations/docker/images/stage-2/chip-build-tizen/tizen-sdk-installer/install.sh

+11-9
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ set -e
2121
# Default settings options
2222
TIZEN_SDK_ROOT=/opt/tizen-sdk
2323
TIZEN_SDK_DATA_PATH=$HOME/tizen-sdk-data
24-
TIZEN_VERSION=7.0
24+
TIZEN_VERSION=8.0
2525
SECRET_TOOL=false
2626

2727
SCRIPT_NAME=$(basename -- "$(readlink -f "${BASH_SOURCE:?}")")
@@ -133,7 +133,7 @@ function install_tizen_sdk() {
133133

134134
info "Tizen SDK installation directory: $TIZEN_SDK_ROOT"
135135

136-
TIZEN_SDK_SYSROOT="$TIZEN_SDK_ROOT/platforms/tizen-$TIZEN_VERSION/mobile/rootstraps/mobile-$TIZEN_VERSION-device.core"
136+
TIZEN_SDK_SYSROOT="$TIZEN_SDK_ROOT/platforms/tizen-$TIZEN_VERSION/tizen/rootstraps/tizen-$TIZEN_VERSION-device.core"
137137

138138
cd "$TMP_DIR" || return
139139

@@ -144,7 +144,7 @@ function install_tizen_sdk() {
144144
URL="http://download.tizen.org/sdk/tizenstudio/official/binary/"
145145
PKG_ARR=(
146146
'certificate-encryptor_1.0.10_ubuntu-64.zip'
147-
'certificate-generator_0.1.3_ubuntu-64.zip'
147+
'certificate-generator_0.1.4_ubuntu-64.zip'
148148
'new-common-cli_2.5.64_ubuntu-64.zip'
149149
'new-native-cli_2.5.64_ubuntu-64.zip'
150150
'sdb_4.2.23_ubuntu-64.zip')
@@ -167,8 +167,8 @@ function install_tizen_sdk() {
167167
# Different versions of Tizen have different rootstrap versions
168168
URL="http://download.tizen.org/sdk/tizenstudio/official/binary/"
169169
PKG_ARR=(
170-
"mobile-$TIZEN_VERSION-core-add-ons_*_ubuntu-64.zip"
171-
"mobile-$TIZEN_VERSION-rs-device.core_*_ubuntu-64.zip")
170+
"tizen-$TIZEN_VERSION-core-add-ons_*_ubuntu-64.zip"
171+
"tizen-$TIZEN_VERSION-rs-device.core_*_ubuntu-64.zip")
172172
download "$URL" "${PKG_ARR[@]}"
173173

174174
# Base packages
@@ -232,13 +232,15 @@ function install_tizen_sdk() {
232232
'capi-system-peripheral-io-*.armv7l.rpm'
233233
'capi-system-peripheral-io-devel-*.armv7l.rpm'
234234
'capi-system-resource-1*.armv7l.rpm'
235-
'libnsd-dns-sd-*.armv7l.rpm')
235+
'libnsd-dns-sd-*.armv7l.rpm'
236+
'sensord-*.armv7l.rpm')
236237
download "$URL" "${PKG_ARR[@]}"
237238

238239
# Tizen Developer Platform Certificate
239240
URL="http://download.tizen.org/sdk/extensions/Tizen_IoT_Headless/binary/"
241+
# Tizen site do not has this package available in version 8.0. Certificates are the same for 7.0 and 8.0.
240242
PKG_ARR=(
241-
"$TIZEN_VERSION-iot-things-add-ons_*_ubuntu-64.zip")
243+
"7.0-iot-things-add-ons_*_ubuntu-64.zip")
242244
download "$URL" "${PKG_ARR[@]}"
243245

244246
# Install all
@@ -271,7 +273,7 @@ function install_tizen_sdk() {
271273
ln -sf "$(basename "$(readlink "$LNK")")" "$LNK"
272274
done
273275
ln -sf ../../lib/libcap.so.2 "$TIZEN_SDK_SYSROOT/usr/lib/libcap.so"
274-
ln -sf openssl1.1.pc "$TIZEN_SDK_SYSROOT/usr/lib/pkgconfig/openssl.pc"
276+
ln -sf openssl3.pc "$TIZEN_SDK_SYSROOT/usr/lib/pkgconfig/openssl.pc"
275277

276278
info "Done."
277279
echo
@@ -282,7 +284,7 @@ function install_tizen_sdk() {
282284
echo "export TIZEN_VERSION=\"$TIZEN_VERSION\""
283285
echo "export TIZEN_SDK_ROOT=\"$(realpath "$TIZEN_SDK_ROOT")\""
284286
echo "export TIZEN_SDK_TOOLCHAIN=\"\$TIZEN_SDK_ROOT/tools/arm-linux-gnueabi-gcc-9.2\""
285-
echo "export TIZEN_SDK_SYSROOT=\"\$TIZEN_SDK_ROOT/platforms/tizen-$TIZEN_VERSION/mobile/rootstraps/mobile-$TIZEN_VERSION-device.core\""
287+
echo "export TIZEN_SDK_SYSROOT=\"\$TIZEN_SDK_ROOT/platforms/tizen-$TIZEN_VERSION/tizen/rootstraps/tizen-$TIZEN_VERSION-device.core\""
286288
echo "export PATH=\"\$TIZEN_SDK_TOOLCHAIN/bin:\$TIZEN_SDK_ROOT/tools/ide/bin:\$TIZEN_SDK_ROOT/tools:\$PATH\""
287289
echo -n "$COLOR_NONE"
288290
}

0 commit comments

Comments
 (0)