From: Ilho Kim Date: Tue, 12 Mar 2024 12:17:55 +0000 (+0900) Subject: Add ConditionPathExists to pkg-db-recovery X-Git-Tag: accepted/tizen/unified/20240313.134645~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b7a797d427469b097d6a94e0b44ceddd125bdd7;p=platform%2Fcore%2Fappfw%2Fpkgmgr-info.git Add ConditionPathExists to pkg-db-recovery During OTN, since the db schema has not been updated schema verification may fail Therefore there is need to prevents the execution of the pkg-db-recovery service by checking file existing during OTN execution Change-Id: Ie64d714ac63de5109c457d7551166f383d59721f Signed-off-by: Ilho Kim --- diff --git a/tool/pkg-db-recovery.service b/tool/pkg-db-recovery.service index d26e37e..489b9a4 100644 --- a/tool/pkg-db-recovery.service +++ b/tool/pkg-db-recovery.service @@ -4,6 +4,7 @@ DefaultDependencies=no Before=ac.service Requires=local-fs.target After=systemd-tmpfiles-setup.service local-fs.target +ConditionPathExists=!/csa/system_rw_update_run [Service] Type=oneshot