setup-adaptor service daemon was changed root to system_fw user.
but /opt/etc/setup-adaptor is created as root in ism. so can't be deleted by setup-adaptor.
the problem is that setup adaptor is activated every booting time.
to resolve this, add script to make setup-adaptor directory in spec file.
Change-Id: I636860441775ac6ef2fbfecf5264535ceae35a79
Signed-off-by: jiehwan.park <jiehwan.park@samsung.com>
Name: setup-adaptor
Summary: Provide network and system data setting daemon
-Version: 0.3.0
+Version: 0.3.1
Release: 0
Group: System & System Tools
ExclusiveArch: %{arm} aarch64
mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants
install -m 0644 %SOURCE2 %{buildroot}%{_unitdir}/%{name}.service
%install_service multi-user.target.wants %{name}.service
+mkdir -p %{buildroot}/opt/etc/setup-adaptor
%post
%postun
%files
+%attr(0755,system_fw,system_fw) %dir /opt/etc/setup-adaptor
%manifest %{name}.manifest
%defattr(-,root,root,-)
%license LICENSE.Apache-2.0