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:
c980f64
)
[TCT][inst.sh][Non-ACR][Add privilege for tpk-backend due to onlycap]
author
perforce
<perforce@perforce.(none)>
Wed, 20 Jul 2016 04:53:19 +0000
(13:53 +0900)
committer
perforce
<perforce@perforce.(none)>
Wed, 20 Jul 2016 04:53:19 +0000
(13:53 +0900)
Change-Id: I6de38517caf39302f9b6aea1e8e01aaf8b22e77e
Signed-off-by: perforce <perforce@perforce.(none)>
templates/tct-package-asan/inst.sh
patch
|
blob
|
history
diff --git
a/templates/tct-package-asan/inst.sh
b/templates/tct-package-asan/inst.sh
index
ec7a564
..
29a6b57
100755
(executable)
--- a/
templates/tct-package-asan/inst.sh
+++ b/
templates/tct-package-asan/inst.sh
@@
-118,7
+118,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