summaryrefslogtreecommitdiff
path: root/upgrade/update-init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'upgrade/update-init.sh')
-rwxr-xr-xupgrade/update-init.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/upgrade/update-init.sh b/upgrade/update-init.sh
index 5c414ad..f2de67d 100755
--- a/upgrade/update-init.sh
+++ b/upgrade/update-init.sh
@@ -13,3 +13,7 @@ then
gum-utils --offline --delete-user --uid=5001
gum-utils --offline --add-user --username=owner --usertype=admin --usecret=tizen
fi
+
+# Copy 3.0 rpm db
+rm -rf /var/lib/rpm/*
+cp -arf /system-update/data/rpm/* /var/lib/rpm