[Tizen] Supports the migration script for OS upgrade 50/314050/1 accepted/tizen/8.0/unified/20240708.173725
authorWonsik Jung <sidein@samsung.com>
Thu, 4 Jul 2024 07:52:54 +0000 (16:52 +0900)
committerWonsik Jung <sidein@samsung.com>
Thu, 4 Jul 2024 10:27:18 +0000 (19:27 +0900)
Supports the migration script for OS upgrade in Tizen TV.

Change-Id: I728a87346bd6fa7fa8acf17d1330b040d0ea4342

packaging/org.tizen.screen-reader.spec

index f66cdd655ca09b3b9353efee4f52207b061ab688..7e33671fbf6f35f5810bcefecf1327afac7d1893 100755 (executable)
@@ -115,6 +115,10 @@ make test
 
 %install
 rm -rf %{buildroot}
+%if "%{profile}" == "tv"
+mkdir -p %{buildroot}%{_datadir}/upgrade/vd_scripts/additional_scripts
+install -p -m 500 org.tizen.screen-reader.sh %{buildroot}%{_datadir}/upgrade/vd_scripts/additional_scripts/org.tizen.screen-reader.sh
+%endif
 
 # For build optimization for mobile/wearable
 # In the unified build, this should be always true
@@ -147,6 +151,9 @@ mv %{buildroot}%{AppDir}/bin/screen-reader %{buildroot}%{AppDir}/bin/screen-read
 %{AppDir}/res/sounds/*
 %{AppDir}/res/locale/*/LC_MESSAGES/*
 %{DataDir}/packages/%{name}.xml
+%if "%{profile}" == "tv"
+%{_datadir}/upgrade/vd_scripts/additional_scripts/org.tizen.screen-reader.sh
+%endif
 
 # For build optimization for mobile/wearable
 # In the unified build, this should be always true