[DeviceHome][VD] Disable to build DeviceHome 34/274034/2
authorDongHyun Song <dh81.song@samsung.com>
Wed, 20 Apr 2022 07:16:45 +0000 (16:16 +0900)
committerDongHyun Song <dh81.song@samsung.com>
Wed, 20 Apr 2022 07:35:29 +0000 (07:35 +0000)
DeviceHome will be managed by TV app store as a downloadable app.
TV store ID : 3202204027208

TV profile don't need to build and install DeviceHome on wrtjs side.

Change-Id: I1c13524849b8bb08a2986171769ec414c7639dff
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
packaging/wrtjs.spec

index e605fba..95842fe 100644 (file)
@@ -194,18 +194,11 @@ cp -r %{app_dir}/* %{buildroot}%{_resourcedir}/
   echo "No TPK generation"
 %endif
 
-%if 0%{?_use_d2d}
-%if "%{?tizen_profile_name}" == "tv"
-  %define _d2d_app_file_name device_home.tmg
-  %define _d2d_app_extension tmg
-  %define _d2d_install_path %{TZ_SYS_DATA}/device_home
-  install -m 0644 packaging/config_tv.xml.in device_home/config.xml
-%else
+%if "%{?tizen_profile_name}" != "tv" && 0%{?_use_d2d}
   %define _d2d_app_file_name device_home.wgt
   %define _d2d_app_extension wgt
   %define _d2d_install_path %{_appdir}/.preload-rw-wgt
   install -m 0644 packaging/config.xml.in device_home/config.xml
-%endif
 %if 0%{?_use_d2d_offload}
   install -m 0644 key.pem device_home/signaling_server/gen/
   install -m 0644 cert.pem device_home/signaling_server/gen/
@@ -261,12 +254,10 @@ else
 fi
 
 %post
-%if "%{?_local_build}" == "1"
-%if 0%{?_use_d2d}
+%if "%{?_local_build}" == "1" && "%{?tizen_profile_name}" != "tv" && 0%{?_use_d2d}
   pkgcmd -un 9z6IujVul3
   pkgcmd -i -t wgt -p %{_d2d_install_path}/%{_d2d_app_file_name}
 %endif
-%endif
 
 %postun
 
@@ -276,10 +267,10 @@ rm -fr %{buildroot}
 %files
 %manifest packaging/wrtjs.manifest
 %license LICENSE
+%if "%{?tizen_profile_name}" != "tv"
 %if 0%{?_use_d2d}
   %{_d2d_install_path}/%{_d2d_app_file_name}
 %endif
-%if "%{?tizen_profile_name}" != "tv"
   %caps(cap_setgid,cap_sys_admin=ei) %{_bindir}/wrt-loader
 %else
   %{_bindir}/wrt-loader