From 781bbcac82559041fa339455e10845708bc0e001 Mon Sep 17 00:00:00 2001 From: Godvin Ouseph Date: Sat, 5 Sep 2026 11:08:57 +0530 Subject: [PATCH] Remove condition on existance of /run/ostree-booted for bootc systemd units/timers. This file is created by ostree backend and won't be present for systems using composefs backend Signed-off-by: Godvin Ouseph --- systemd/bootc-fetch-apply-updates.service | 3 ++- systemd/bootc-fetch-apply-updates.timer | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/systemd/bootc-fetch-apply-updates.service b/systemd/bootc-fetch-apply-updates.service index ce627a5908..c63420d17f 100644 --- a/systemd/bootc-fetch-apply-updates.service +++ b/systemd/bootc-fetch-apply-updates.service @@ -1,7 +1,8 @@ [Unit] Description=Apply bootc updates Documentation=man:bootc(8) -ConditionPathExists=/run/ostree-booted +ConditionPathExists=|/run/ostree-booted +ConditionKernelCommandLine=|composefs [Service] Type=oneshot diff --git a/systemd/bootc-fetch-apply-updates.timer b/systemd/bootc-fetch-apply-updates.timer index 4ebb66362f..9032311aa6 100644 --- a/systemd/bootc-fetch-apply-updates.timer +++ b/systemd/bootc-fetch-apply-updates.timer @@ -1,7 +1,8 @@ [Unit] Description=Apply bootc updates Documentation=man:bootc(8) -ConditionPathExists=/run/ostree-booted +ConditionPathExists=|/run/ostree-booted +ConditionKernelCommandLine=|composefs [Timer] OnBootSec=1h