From 472a1990cd5a11820545faaafd811f97900711a7 Mon Sep 17 00:00:00 2001 From: Gaurav Gupta Date: Tue, 9 Apr 2024 09:46:03 +0530 Subject: [PATCH] emul64: use public init method for gumd service In 64-bit TV emulator gumd service is failed to launch. So, webapps could not be installed. Switch to public tizen gumd init mechanism for 64-bit emulator. Change-Id: I0f5206ef9c33d170701cf82af2a15174ac7eec4e Signed-off-by: Gaurav Gupta --- packaging/gumd.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packaging/gumd.spec b/packaging/gumd.spec index 6fa647f..568a894 100644 --- a/packaging/gumd.spec +++ b/packaging/gumd.spec @@ -97,8 +97,11 @@ Requires: libgum = %{version}-%{release} cp -a %{SOURCE1001} %{name}.manifest cp -a %{SOURCE1002} libgum.manifest cp data/gumd.service data/gumd.service.wearable +%ifarch x86_64 +%define emul_arch x86_64 +%endif -%if "%{tizen_profile_name}" == "tv" +%if "%{tizen_profile_name}" == "tv" && "%{emul_arch}" != "x86_64" mv "%{GUMD_DBUS_SERVICE}".vd.in "%{GUMD_DBUS_SERVICE}".in %else mv "%{GUMD_DBUS_SERVICE}".common.in "%{GUMD_DBUS_SERVICE}".in @@ -127,6 +130,9 @@ install -m 755 -d %{buildroot}%{_sysconfdir}/%{name} install -m 644 data/tizen/etc/%{name}/%{name}-tizen-common.conf %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf install -m 755 -d %{buildroot}%{_unitdir} install -m 644 data/gumd.service.wearable %{buildroot}%{_unitdir} +%if "%{tizen_profile_name}" == "tv" && "%{emul_arch}" == "x86_64" +install -m 644 data/gumd.service %{buildroot}%{_unitdir} +%endif %if "%{tizen_profile_name}" != "tv" install -m 644 data/gumd.service %{buildroot}%{_unitdir} %endif @@ -192,6 +198,9 @@ mv %{_unitdir}/gumd.service.wearable %{_unitdir}/gumd.service %dir %{_sysconfdir}/dbus-1 %dir %{_sysconfdir}/dbus-1/system.d %config(noreplace) %{_sysconfdir}/dbus-1/system.d/gumd-dbus.conf +%if "%{tizen_profile_name}" == "tv" && "%{emul_arch}" == "x86_64" +%{_unitdir}/gumd.service +%endif %if "%{tizen_profile_name}" != "tv" %{_unitdir}/gumd.service %endif -- 2.7.4