summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunmin Lee <sunm.lee@samsung.com>2016-08-23 17:03:58 +0900
committerSunmin Lee <sunm.lee@samsung.com>2016-08-23 17:03:58 +0900
commit88067592885fb3ced9e70416c44bced0b0eec063 (patch)
tree32f2c566bea54000ad48dc6c0ace0a9367962108
parentec55ae94a3f48ea95bc157704a87ab4d1756b030 (diff)
downloadmeta-mobile-88067592885fb3ced9e70416c44bced0b0eec063.tar.gz
meta-mobile-88067592885fb3ced9e70416c44bced0b0eec063.tar.bz2
meta-mobile-88067592885fb3ced9e70416c44bced0b0eec063.zip
Rather than execute some operations for upgrade image, post script executes update-image script in /system-update. The operations which change release image to upgrade image are moved to script file in upgrade package. Change-Id: Ib8d896eed43291e77aee0612e3c96f7735068adf Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
-rw-r--r--scripts/mobile-update-tm1.post5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/mobile-update-tm1.post b/scripts/mobile-update-tm1.post
index 499bf13..e1fb4ad 100644
--- a/scripts/mobile-update-tm1.post
+++ b/scripts/mobile-update-tm1.post
@@ -2,5 +2,6 @@
echo "#################### mobile-update-tm1.post ####################"
-# remove RW partitions' files
-rm -rf /opt/*
+# execute a script which makes it an upgrade image
+/system-update/update-image.sh
+rm /system-update/update-image.sh