From: Ilho Kim Date: Wed, 30 Oct 2024 09:58:58 +0000 (+0900) Subject: Create flag before pkg_upgrade during rw data migration X-Git-Tag: accepted/tizen/unified/20241031.084427~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6423df840c2b04fbebd32187c47666a07ef33c83;p=platform%2Fcore%2Fappfw%2Fpkgmgr-tool.git Create flag before pkg_upgrade during rw data migration 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 --- diff --git a/data/700.pkgmgr.patch.sh.in b/data/700.pkgmgr.patch.sh.in index ee0ee9f..c730013 100644 --- a/data/700.pkgmgr.patch.sh.in +++ b/data/700.pkgmgr.patch.sh.in @@ -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