21
21
# Default settings options
22
22
TIZEN_SDK_ROOT=/opt/tizen-sdk
23
23
TIZEN_SDK_DATA_PATH=$HOME /tizen-sdk-data
24
- TIZEN_VERSION=7 .0
24
+ TIZEN_VERSION=8 .0
25
25
SECRET_TOOL=false
26
26
27
27
SCRIPT_NAME=$( basename -- " $( readlink -f " ${BASH_SOURCE:? } " ) " )
@@ -133,7 +133,7 @@ function install_tizen_sdk() {
133
133
134
134
info " Tizen SDK installation directory: $TIZEN_SDK_ROOT "
135
135
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"
137
137
138
138
cd " $TMP_DIR " || return
139
139
@@ -144,7 +144,7 @@ function install_tizen_sdk() {
144
144
URL=" http://download.tizen.org/sdk/tizenstudio/official/binary/"
145
145
PKG_ARR=(
146
146
' 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'
148
148
' new-common-cli_2.5.64_ubuntu-64.zip'
149
149
' new-native-cli_2.5.64_ubuntu-64.zip'
150
150
' sdb_4.2.23_ubuntu-64.zip' )
@@ -167,8 +167,8 @@ function install_tizen_sdk() {
167
167
# Different versions of Tizen have different rootstrap versions
168
168
URL=" http://download.tizen.org/sdk/tizenstudio/official/binary/"
169
169
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" )
172
172
download " $URL " " ${PKG_ARR[@]} "
173
173
174
174
# Base packages
@@ -232,13 +232,15 @@ function install_tizen_sdk() {
232
232
' capi-system-peripheral-io-*.armv7l.rpm'
233
233
' capi-system-peripheral-io-devel-*.armv7l.rpm'
234
234
' capi-system-resource-1*.armv7l.rpm'
235
- ' libnsd-dns-sd-*.armv7l.rpm' )
235
+ ' libnsd-dns-sd-*.armv7l.rpm'
236
+ ' sensord-*.armv7l.rpm' )
236
237
download " $URL " " ${PKG_ARR[@]} "
237
238
238
239
# Tizen Developer Platform Certificate
239
240
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.
240
242
PKG_ARR=(
241
- " $TIZEN_VERSION -iot-things-add-ons_*_ubuntu-64.zip" )
243
+ " 7.0 -iot-things-add-ons_*_ubuntu-64.zip" )
242
244
download " $URL " " ${PKG_ARR[@]} "
243
245
244
246
# Install all
@@ -271,7 +273,7 @@ function install_tizen_sdk() {
271
273
ln -sf " $( basename " $( readlink " $LNK " ) " ) " " $LNK "
272
274
done
273
275
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"
275
277
276
278
info " Done."
277
279
echo
@@ -282,7 +284,7 @@ function install_tizen_sdk() {
282
284
echo " export TIZEN_VERSION=\" $TIZEN_VERSION \" "
283
285
echo " export TIZEN_SDK_ROOT=\" $( realpath " $TIZEN_SDK_ROOT " ) \" "
284
286
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\" "
286
288
echo " export PATH=\"\$ TIZEN_SDK_TOOLCHAIN/bin:\$ TIZEN_SDK_ROOT/tools/ide/bin:\$ TIZEN_SDK_ROOT/tools:\$ PATH\" "
287
289
echo -n " $COLOR_NONE "
288
290
}
0 commit comments