From 71570b6601d91f9b63ff13148dde198d6d962973 Mon Sep 17 00:00:00 2001 From: Keebong Date: Mon, 6 May 2013 19:49:47 +0900 Subject: [PATCH] Modified FtApp tpk generating script Change-Id: I0402f0e22a39d79cad511b7d049fb50b91937223 Signed-off-by: Keebong --- util/gen_multi_priv_pkg.sh | 37 +++++++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 6 deletions(-) diff --git a/util/gen_multi_priv_pkg.sh b/util/gen_multi_priv_pkg.sh index 15f17ab..6c14fe6 100755 --- a/util/gen_multi_priv_pkg.sh +++ b/util/gen_multi_priv_pkg.sh @@ -388,13 +388,38 @@ sed -i "${cmd}${cmd2}" ${current_path}/info/manifest.xml tmp="http://tizen.org/privilege/systemmanager" cmd="/$/ a $tmp" sed -i "${cmd}${cmd2}" ${current_path}/info/manifest.xml -zip -r ../FtApp-2setting-system-manager.zip bin data info lib res shared author-signature.xml signature1.xml -mv ../FtApp-2setting-system-manager.zip ../FtApp-2setting-system-manager.tpk -chmod +x ../FtApp-2setting-system-manager.tpk +tmp="http://tizen.org/privilege/telephony" +cmd="/$/ a $tmp" +cmd2="" +sed -i "${cmd}${cmd2}" ${current_path}/info/manifest.xml +zip -r ../FtApp-3settingw-sysm-telephony.zip bin data info lib res shared author-signature.xml signature1.xml +mv ../FtApp-3settingw-sysm-telephony.zip ../FtApp-3settingw-sysm-telephony.tpk +chmod +x ../FtApp-3settingw-sysm-telephony.tpk +sed -i 's/HwAcceleration="Off"/HwAcceleration="On"/g' ${current_path}/info/manifest.xml +zip -r ../FtApp-hwon-3settingw-sysm-telephony.zip bin data info lib res shared author-signature.xml signature1.xml +mv ../FtApp-hwon-3settingw-sysm-telephony.zip ../FtApp-hwon-3settingw-sysm-telephony.tpk +chmod +x ../FtApp-hwon-3settingw-sysm-telephony.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/settingmanager.write" +cmd="/$/ a $tmp" +cmd2="" +sed -i "${cmd}${cmd2}" ${current_path}/info/manifest.xml +tmp="http://tizen.org/privilege/telephony" +cmd="/$/ a $tmp" +sed -i "${cmd}${cmd2}" ${current_path}/info/manifest.xml +tmp="http://tizen.org/privilege/telephonymanager" +cmd="/$/ a $tmp" +cmd2="" +sed -i "${cmd}${cmd2}" ${current_path}/info/manifest.xml +zip -r ../FtApp-3settingw-telephony-telem.zip bin data info lib res shared author-signature.xml signature1.xml +mv ../FtApp-3settingw-telephony-telem.zip ../FtApp-3settingw-telephony-telem.tpk +chmod +x ../FtApp-3settingw-telephony-telem.tpk sed -i 's/HwAcceleration="Off"/HwAcceleration="On"/g' ${current_path}/info/manifest.xml -zip -r ../FtApp-hwon-2setting-system-manager.zip bin data info lib res shared author-signature.xml signature1.xml -mv ../FtApp-hwon-2setting-system-manager.zip ../FtApp-hwon-2setting-system-manager.tpk -chmod +x ../FtApp-hwon-2setting-system-manager.tpk +zip -r ../FtApp-hwon-3settingw-telephony-telem.zip bin data info lib res shared author-signature.xml signature1.xml +mv ../FtApp-hwon-3settingw-telephony-telem.zip ../FtApp-hwon-3settingw-telephony-telem.tpk +chmod +x ../FtApp-hwon-3settingw-telephony-telem.tpk sed -i 's/HwAcceleration="On"/HwAcceleration="Off"/g' ${current_path}/info/manifest.xml sed -i /\/d ${current_path}/info/manifest.xml -- 2.7.4