shared/generator: Ensure growfs unit runs after repart

When deploying an image using systemd-repart and systemd-growfs one
should have the image expanded entirely and ready to use after the first
boot. This ensures that growfs does not occur before repart, thus
requiring a second boot.
This commit is contained in:
undef
2022-08-08 15:20:36 +02:00
committed by Lennart Poettering
parent 80821405da
commit 7b45d6b6f6
+1 -1
View File
@@ -537,7 +537,7 @@ int generator_hook_up_growfs(
"DefaultDependencies=no\n"
"BindsTo=%%i.mount\n"
"Conflicts=shutdown.target\n"
"After=%%i.mount\n"
"After=systemd-repart.service %%i.mount\n"
"Before=shutdown.target%s%s\n",
program_invocation_short_name,
target ? " " : "",