The capability of backend is assigned to the execute test file
From 7.0 installer is executed with System::Privileged label
Change-Id: Ib7d92f3b13bec9e59ec86726aae66d96cd5c8390
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
/usr/sbin/setcap cap_chown,cap_dac_override,cap_fowner,cap_mac_override=eip %{_bindir}/tpk-installer-ut/smoke-test
/usr/sbin/setcap cap_chown,cap_dac_override,cap_fowner,cap_mac_override=eip %{_bindir}/tpk-installer-ut/smoke-test-helper
/usr/sbin/setcap cap_chown,cap_dac_override,cap_fowner,cap_mac_override=eip %{_bindir}/tpk-installer-ut/recovery-test
+/usr/sbin/setcap cap_chown,cap_dac_override,cap_fowner,cap_mac_override=eip %{_bindir}/tpk-installer-ut/extensive-smoke-test
%files
%{_sysconfdir}/package-manager/backend/tpk
<domain name="_" />
</request>
<assign>
- <filesystem path="/usr/bin/tpk-installer-ut/smoke-test" exec_label="System" />
- <filesystem path="/usr/bin/tpk-installer-ut/extensive-smoke-test" exec_label="System" />
- <filesystem path="/usr/bin/tpk-installer-ut/smoke-test-helper" exec_label="System" />
- <filesystem path="/usr/bin/tpk-installer-ut/recovery-test" exec_label="System" />
+ <filesystem path="/usr/bin/tpk-installer-ut/smoke-test" exec_label="System::Privileged" />
+ <filesystem path="/usr/bin/tpk-installer-ut/extensive-smoke-test" exec_label="System::Privileged" />
+ <filesystem path="/usr/bin/tpk-installer-ut/smoke-test-helper" exec_label="System::Privileged" />
+ <filesystem path="/usr/bin/tpk-installer-ut/recovery-test" exec_label="System::Privileged" />
</assign>
</manifest>