projects
/
test
/
tct
/
native
/
api.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e53dff
)
[TCT][inst.sh][Non-ACR][Add privilege for tpk-backend due to onlycap]
author
perforce
<perforce@perforce.(none)>
Wed, 20 Jul 2016 04:51:15 +0000
(13:51 +0900)
committer
perforce
<perforce@perforce.(none)>
Wed, 20 Jul 2016 04:51:15 +0000
(13:51 +0900)
Change-Id: Ic092853e2442818ec4b0f947a7d1650bbea4eb90
Signed-off-by: perforce <perforce@perforce.(none)>
templates/tct-package/inst.sh
patch
|
blob
|
history
diff --git
a/templates/tct-package/inst.sh
b/templates/tct-package/inst.sh
index
7085970
..
39cce66
100755
(executable)
--- 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