mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-18 10:04:17 +03:00
boot: Use emergency.target, not emergency.service
Follow systemd units in using emergency.target, not emergency.service (which is the sole unit, by default, in emergency.target) so we can easily reconfigure the units which are actived when entering emergency mode. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Closes: #1665 Approved by: cgwalters
This commit is contained in:
parent
0c8b86ea09
commit
a0527e7086
@ -20,7 +20,7 @@ Description=OSTree Prepare OS/
|
||||
DefaultDependencies=no
|
||||
ConditionKernelCommandLine=ostree
|
||||
ConditionPathExists=/etc/initrd-release
|
||||
OnFailure=emergency.service
|
||||
OnFailure=emergency.target
|
||||
After=initrd-switch-root.target
|
||||
Before=initrd-switch-root.service
|
||||
Before=plymouth-switch-root.service
|
||||
|
@ -19,7 +19,7 @@
|
||||
Description=OSTree Remount OS/ bind mounts
|
||||
DefaultDependencies=no
|
||||
ConditionKernelCommandLine=ostree
|
||||
OnFailure=emergency.service
|
||||
OnFailure=emergency.target
|
||||
Conflicts=umount.target
|
||||
After=-.mount
|
||||
After=systemd-remount-fs.service
|
||||
|
Loading…
x
Reference in New Issue
Block a user