From: Colin Walters Date: Fri, 5 Jan 2024 15:58:57 +0000 (-0500) Subject: systemd/ostree-boot-complete: Start earlier X-Git-Tag: archive/raspbian/2024.8-1+rpi1^2~7^2~7^2~5^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=852db03843707d3ac80898a2d402f6d99603bcac;p=ostree.git systemd/ostree-boot-complete: Start earlier Prep for changing this service to perform state computations such as "is this boot the default, or did we get rolled back" that can be used by higher level tools. --- diff --git a/src/boot/ostree-boot-complete.service b/src/boot/ostree-boot-complete.service index d5b930a7..98ae3d18 100644 --- a/src/boot/ostree-boot-complete.service +++ b/src/boot/ostree-boot-complete.service @@ -21,6 +21,9 @@ ConditionKernelCommandLine=ostree # marked as a triggering condition in case in the future we want # to do something else. ConditionPathExists=|/boot/ostree/finalize-failure.stamp +# We start early +DefaultDependencies=no +After=sysinit.target RequiresMountsFor=/boot # Ensure that we propagate the failure into the current boot before # any further finalization attempts.