1
0
mirror of https://github.com/coreos/fedora-coreos-config.git synced 2026-02-05 09:45:30 +01:00

tree: import changes from testing-devel at e305450a52

This commit is contained in:
CoreOS Bot
2025-06-10 20:23:21 +00:00
parent 5a126d2f27
commit 9fc4beb43c
2 changed files with 5 additions and 1 deletions

View File

@@ -3,6 +3,10 @@ Description=CoreOS Mark Ignition Boot Complete
Documentation=https://docs.fedoraproject.org/en-US/fedora-coreos/
ConditionKernelCommandLine=ignition.firstboot
ConditionPathExists=!/run/ostree-live
# This condition is required for cases where a soft-reboot is issued on the
# firstboot. Soft reboot do not change the kernel or its command-line arguments,
# which would cause this service to fail after the soft-reboot completes.
ConditionPathExists=/boot/ignition.firstboot
RequiresMountsFor=/boot
[Service]

View File

@@ -11,7 +11,7 @@ After=afterburn-sshkeys.target
# before Ignition/Afterburn started logging structured data don't
# get misleading messages. Also handles the case where the journal
# gets rotated and no longer has the structured log messages.
ConditionKernelCommandLine=ignition.firstboot
ConditionFirstBoot=true
# Run before user sessions to avoid reloading agetty
Before=systemd-user-sessions.service