From: perforce Date: Wed, 20 Jul 2016 04:51:15 +0000 (+0900) Subject: [TCT][inst.sh][Non-ACR][Add privilege for tpk-backend due to onlycap] X-Git-Tag: Public_Final_RC6~571 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fb05ea2284cfa000547650ac01cb0f09eccae80e;p=test%2Ftct%2Fnative%2Fapi.git [TCT][inst.sh][Non-ACR][Add privilege for tpk-backend due to onlycap] Change-Id: Ic092853e2442818ec4b0f947a7d1650bbea4eb90 Signed-off-by: perforce --- diff --git a/templates/tct-package/inst.sh b/templates/tct-package/inst.sh index 7085970..39cce66 100755 --- a/templates/tct-package/inst.sh +++ b/templates/tct-package/inst.sh @@ -111,7 +111,9 @@ function installpkg(){ rpm -ih $PKG_DIR/$PKG_FULLNAME # pkginfo --imd /usr/share/packages/$PKG_NAME\.xml # pkg_privilege -i /usr/share/packages/$PKG_NAME\.xml + chsmack -e "System::Privileged" /usr/bin/tpk-backend tpk-backend --preload -y $PKG_NAME + chsmack -e "User" /usr/bin/tpk-backend if [ -e $PKG_DIR/post-inst.sh ];then WORKDIR=`pwd` cd $PKG_DIR