mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-21 18:03:41 +03:00
veritysetup-generator: fix ordering of generated units
Fixes a bug introduced by 08b04ec7e72b7327b4803809732b1b8fce8dd069 and 953006dcb0a37a57aed0e762ff6289700e8689e8. Fixes #28725. (cherry picked from commit 685e0dd1924cce44327040b08a8980af2192bf59)
This commit is contained in:
parent
7483f75fa6
commit
4bb0d3cf56
@ -829,7 +829,7 @@ int generator_write_veritysetup_unit_section(
|
||||
fprintf(f,
|
||||
"DefaultDependencies=no\n"
|
||||
"IgnoreOnIsolate=true\n"
|
||||
"After=cryptsetup-pre.target systemd-udevd-kernel.socket\n"
|
||||
"After=veritysetup-pre.target systemd-udevd-kernel.socket\n"
|
||||
"Before=blockdev@dev-mapper-%%i.target\n"
|
||||
"Wants=blockdev@dev-mapper-%%i.target\n");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user