systemd/ostree-boot-complete: Add `ConditionKernelCommandLine=ostree`
authorColin Walters <walters@verbum.org>
Fri, 5 Jan 2024 15:57:16 +0000 (10:57 -0500)
committerColin Walters <walters@verbum.org>
Fri, 5 Jan 2024 16:02:03 +0000 (11:02 -0500)
In practice we don't enable this unit except via our generator,
but let's do this on general principle.

src/boot/ostree-boot-complete.service

index 5c09fdc9eb9cf652b2614afd2bb5254d7dc7d3e6..d5b930a78ecb0e9f0a66d0074e5ac1e69751bb33 100644 (file)
@@ -16,6 +16,7 @@
 [Unit]
 Description=OSTree Complete Boot
 Documentation=man:ostree(1)
+ConditionKernelCommandLine=ostree
 # For now, this is the only condition on which we start, but it's
 # marked as a triggering condition in case in the future we want
 # to do something else.