projects
/
platform
/
core
/
security
/
ode.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b53f041
)
Fix upgrade script to support fota
80/193980/3
accepted/tizen/4.0/unified/20181129.174925
submit/tizen_4.0/20181129.005525
author
seolheui, kim
<s414.kim@samsung.com>
Wed, 28 Nov 2018 05:15:40 +0000
(14:15 +0900)
committer
seolheui, kim
<s414.kim@samsung.com>
Wed, 28 Nov 2018 08:24:53 +0000
(17:24 +0900)
Change-Id: I1a10059cd366c6bd1093bf80f8730b9331c7ea69
Signed-off-by: seolheui, kim <s414.kim@samsung.com>
fota/500.ode_upgrade.sh
patch
|
blob
|
history
diff --git
a/fota/500.ode_upgrade.sh
b/fota/500.ode_upgrade.sh
index
a681229
..
c95b8e3
100755
(executable)
--- a/
fota/500.ode_upgrade.sh
+++ b/
fota/500.ode_upgrade.sh
@@
-11,4
+11,10
@@
ODE_STATE=${ODE_STATE%(*}
if [ $ODE_STATE = "notsupported" ]; then
vconftool set -f -t string db/ode/crypto_state "unencrypted"
+elif [ $ODE_STATE = "mounted" ]; then
+vconftool set -f -t string db/ode/crypto_state "encrypted"
+fi
+
+if [ -e /opt/etc/ode_footer ]; then
+ touch /opt/etc/.ode_upgrade_started
fi