From: Manasij Sur Roy Date: Thu, 7 Apr 2016 08:27:20 +0000 (+0530) Subject: On demand activation X-Git-Tag: accepted/tizen/mobile/20160407.112516^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1de10e7f11e14a82cf329d166f666da25464ee14;p=platform%2Fcore%2Faccount%2Ffido-client.git On demand activation Change-Id: I5f6e188867c00f350c5ec16b6fea60c4f737ebaa Signed-off-by: Manasij Sur Roy --- diff --git a/packaging/fido-client.spec b/packaging/fido-client.spec index dac6fa1..4dee121 100644 --- a/packaging/fido-client.spec +++ b/packaging/fido-client.spec @@ -120,20 +120,12 @@ install -m 0644 %SOURCE1 %{buildroot}/usr/share/dbus-1/system-services/org.tizen mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d install -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/dbus-1/system.d/ -mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants -install -m 644 %SOURCE3 %{buildroot}%{_unitdir}/fido.service -%install_service multi-user.target.wants fido.service - mkdir -p %{buildroot}/usr/share/dbus-1/system-services install -m 0644 %SOURCE4 %{buildroot}/usr/share/dbus-1/system-services/org.tizen.dummyasm.service mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d install -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/dbus-1/system.d/ -mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants -install -m 644 %SOURCE4 %{buildroot}%{_unitdir}/org.tizen.dummyasm.service -%install_service multi-user.target.wants org.tizen.dummyasm.service - %else %install rm -rf %{buildroot} @@ -178,8 +170,6 @@ chsmack -a '_' %{_libdir}/fido/asm/ %{_bindir}/fido-service %if "%{?tizen_version}" == "3.0" -%attr(0644,root,root) %{_unitdir}/fido.service -%attr(0644,root,root) %{_unitdir}/multi-user.target.wants/fido.service %attr(0644,root,root) /usr/share/dbus-1/system-services/org.tizen.fido.service %else @@ -271,8 +261,6 @@ This is a dummy ASM for testing FIDO client. %if "%{?tizen_version}" == "3.0" %config %{_sysconfdir}/dbus-1/system.d/org.tizen.dummyasm.conf %{_bindir}/dummyasm-service -%attr(0644,root,root) %{_unitdir}/org.tizen.dummyasm.service -%attr(0644,root,root) %{_unitdir}/multi-user.target.wants/org.tizen.dummyasm.service %attr(0644,root,root) /usr/share/dbus-1/system-services/org.tizen.dummyasm.service %{_libdir}/fido/asm/dummy_asm.json diff --git a/packaging/fido.service b/packaging/fido.service index 477adfe..6d09e27 100644 --- a/packaging/fido.service +++ b/packaging/fido.service @@ -4,13 +4,9 @@ After=tizen-runtime.target Requires=tizen-runtime.target [Service] -#User=system -#Gruop=system Type=dbus BusName=org.tizen.fido ExecStart=/usr/bin/fido-service -Restart=always -RestartSec=1 [Install] WantedBy=multi-user.target diff --git a/packaging/org.tizen.fido.service b/packaging/org.tizen.fido.service index 32cc443..b181e66 100644 --- a/packaging/org.tizen.fido.service +++ b/packaging/org.tizen.fido.service @@ -4,5 +4,5 @@ Description=FIDO Service D-Bus [D-BUS Service] Name=org.tizen.fido Exec=/usr/bin/fido-service -User=system -Group=system +User=root +Group=root