summaryrefslogtreecommitdiff
path: root/upgrade/update-image.sh
blob: fd20bcf6af7ae0e039c6d7c98a622526c2edb58b (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
#
# 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/*