Create flag before pkg_upgrade during rw data migration 96/319696/2
authorIlho Kim <ilho159.kim@samsung.com>
Wed, 30 Oct 2024 09:58:58 +0000 (18:58 +0900)
committerIlho Kim <ilho159.kim@samsung.com>
Wed, 30 Oct 2024 10:12:59 +0000 (19:12 +0900)
In order to execute in offline mode in installer,
installer need a way to check if it is rw data migration

Change-Id: I37ff11182d10195f14a7023920e5d039977842ce
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
data/700.pkgmgr.patch.sh.in

index ee0ee9fd2b1acd73ee2f5cfc12c9cde5c035a072..c7300133922fa6e2dd07a142e38c283321ed6282 100644 (file)
@@ -5,4 +5,8 @@ source /etc/tizen-platform.conf
 
 /etc/package-manager/updates/update.sh
 
+/usr/bin/touch /tmp/.system_rw_update_run
+
 /usr/bin/pkg_upgrade -rof
+
+/usr/bin/rm -rf /tmp/.system_rw_update_run
\ No newline at end of file