Upgrade: Add update-image script 06/85006/1
authorSunmin Lee <sunm.lee@samsung.com>
Tue, 23 Aug 2016 08:27:33 +0000 (17:27 +0900)
committerSunmin Lee <sunm.lee@samsung.com>
Tue, 23 Aug 2016 08:32:31 +0000 (17:32 +0900)
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>
upgrade/update-image.sh [new file with mode: 0755]

diff --git a/upgrade/update-image.sh b/upgrade/update-image.sh
new file mode 100755 (executable)
index 0000000..55ad4a2
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# Modify normal image to upgrade image
+#
+
+# remove RW partitions' files
+rm -rf /opt/*