From: Ilho Kim Date: Wed, 12 Oct 2022 04:48:27 +0000 (+0900) Subject: Edit capability and smack label of smoke test X-Git-Tag: accepted/tizen/unified/20230102.131959~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dcce11a4f2b6d1371e43339a24431e6042a30a9b;p=platform%2Fcore%2Fappfw%2Ftpk-backend.git Edit capability and smack label of smoke test 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 --- diff --git a/packaging/tpk-backend.spec b/packaging/tpk-backend.spec index 28f1d88..7f8bd4e 100644 --- a/packaging/tpk-backend.spec +++ b/packaging/tpk-backend.spec @@ -82,6 +82,7 @@ ln -s %{_bindir}/tpk-backend %{buildroot}%{_sysconfdir}/package-manager/backend/ /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 diff --git a/packaging/tpk-installer-tests.manifest b/packaging/tpk-installer-tests.manifest index aa268fb..196079e 100644 --- a/packaging/tpk-installer-tests.manifest +++ b/packaging/tpk-installer-tests.manifest @@ -3,9 +3,9 @@ - - - - + + + +