From 9b7a797d427469b097d6a94e0b44ceddd125bdd7 Mon Sep 17 00:00:00 2001 From: Ilho Kim Date: Tue, 12 Mar 2024 21:17:55 +0900 Subject: [PATCH] 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 --- tool/pkg-db-recovery.service | 1 + 1 file changed, 1 insertion(+) 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 -- 2.7.4