From 0da13b49effc0b922ca223602f73ee990a39798c Mon Sep 17 00:00:00 2001 From: Keebong Date: Tue, 7 May 2013 16:22:39 +0900 Subject: [PATCH] Modified tpk generating script Change-Id: I2b978163f2f8c14ca4f0f099bff808009e04679b Signed-off-by: Keebong --- util/gen_multi_priv_pkg.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/util/gen_multi_priv_pkg.sh b/util/gen_multi_priv_pkg.sh index 6c14fe6..c11bad8 100755 --- a/util/gen_multi_priv_pkg.sh +++ b/util/gen_multi_priv_pkg.sh @@ -72,6 +72,23 @@ chmod +x ../FtApp-hwon-2bluetooth-adminmanager.tpk sed -i 's/HwAcceleration="On"/HwAcceleration="Off"/g' ${current_path}/info/manifest.xml sed -i /\/d ${current_path}/info/manifest.xml +tmp="http://tizen.org/privilege/bluetooth.admin" +cmd="/$/ a $tmp" +cmd2="" +sed -i "${cmd}${cmd2}" ${current_path}/info/manifest.xml +tmp="http://tizen.org/privilege/bluetooth.opp" +cmd="/$/ a $tmp" +sed -i "${cmd}${cmd2}" ${current_path}/info/manifest.xml +zip -r ../FtApp-2bluetooth-adminopp.zip bin data info lib res shared author-signature.xml signature1.xml +mv ../FtApp-2bluetooth-adminopp.zip ../FtApp-2bluetooth-adminopp.tpk +chmod +x ../FtApp-2bluetooth-adminopp.tpk +sed -i 's/HwAcceleration="Off"/HwAcceleration="On"/g' ${current_path}/info/manifest.xml +zip -r ../FtApp-hwon-2bluetooth-adminopp.zip bin data info lib res shared author-signature.xml signature1.xml +mv ../FtApp-hwon-2bluetooth-adminopp.zip ../FtApp-hwon-2bluetooth-adminopp.tpk +chmod +x ../FtApp-hwon-2bluetooth-adminopp.tpk + +sed -i 's/HwAcceleration="On"/HwAcceleration="Off"/g' ${current_path}/info/manifest.xml +sed -i /\/d ${current_path}/info/manifest.xml tmp="http://tizen.org/privilege/bookmark.read" cmd="/$/ a $tmp" cmd2="" -- 2.7.4