summaryrefslogtreecommitdiff
path: root/upgrade/update-image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'upgrade/update-image.sh')
-rwxr-xr-xupgrade/update-image.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/upgrade/update-image.sh b/upgrade/update-image.sh
index 55ad4a2..fd20bcf 100755
--- a/upgrade/update-image.sh
+++ b/upgrade/update-image.sh
@@ -3,5 +3,9 @@
# Modify normal image to upgrade image
#
+# Back rpm db up for Tizen 3.0
+mkdir /system-update/data/rpm
+cp -arf /var/lib/rpm/* /system-update/data/rpm
+
# remove RW partitions' files
rm -rf /opt/*