projects
/
platform
/
core
/
system
/
buxton2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c9f7e5
)
Delay 'security-disable' in upgrade script
38/246138/2
author
Inkyun Kil
<inkyun.kil@samsung.com>
Sun, 25 Oct 2020 23:23:05 +0000
(08:23 +0900)
committer
Inkyun Kil
<inkyun.kil@samsung.com>
Mon, 26 Oct 2020 06:39:28 +0000
(15:39 +0900)
- If buxton daemon is not alive, it fails.
So should delay 'security-disable'.
Change-Id: If2363c554feb4a51ee0894ea50e8efb774ab6eee
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
scripts/290.buxton2_upgrade.sh
patch
|
blob
|
history
diff --git
a/scripts/290.buxton2_upgrade.sh
b/scripts/290.buxton2_upgrade.sh
index
e947c6d
..
2a897cf
100755
(executable)
--- a/
scripts/290.buxton2_upgrade.sh
+++ b/
scripts/290.buxton2_upgrade.sh
@@
-13,5
+13,14
@@
buxton2ctl remove-garbage-data system
systemctl start buxton2
+count=0
+while [ "$(systemctl is-active buxton2)" != "active" ] && [ ${count} -le 2 ];
+do
+ echo "wait"
+ sleep 1
+ count=$((count+1))
+done
+
+
buxton2ctl security-disable