summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunmin Lee <sunm.lee@samsung.com>2016-08-23 17:27:33 +0900
committerSunmin Lee <sunm.lee@samsung.com>2016-08-23 17:32:31 +0900
commit87895f4774bb1fdb9f8828f1e33e6bba8f99f800 (patch)
treec17c027c7f6b3617833427f715a43c98bb6306d4
parent607ca16f972d4d6f69d274aca2e4db0a75f5543e (diff)
downloadsystem-plugin-87895f4774bb1fdb9f8828f1e33e6bba8f99f800.tar.gz
system-plugin-87895f4774bb1fdb9f8828f1e33e6bba8f99f800.tar.bz2
system-plugin-87895f4774bb1fdb9f8828f1e33e6bba8f99f800.zip
Upgrade: Add update-image script
The operations making upgrade image is moved to upgrade package. This script is executed in image creation. Change-Id: I7f559fb7c36d0809ff14c079af94dae8edf3e7cb Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
-rwxr-xr-xupgrade/update-image.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/upgrade/update-image.sh b/upgrade/update-image.sh
new file mode 100755
index 0000000..55ad4a2
--- /dev/null
+++ b/upgrade/update-image.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# Modify normal image to upgrade image
+#
+
+# remove RW partitions' files
+rm -rf /opt/*