tree-wide: use full paths to tools defined in config.h

This commit is contained in:
Antonio Alvarez Feijoo
2026-01-12 22:17:36 +01:00
committed by Mike Yuan
parent e901e256d9
commit 96138c6237
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -536,13 +536,13 @@ static int create_disk(
}
fprintf(f,
"ExecStartPost=" LIBEXECDIR "/systemd-makefs '%s' '/dev/mapper/%s'\n",
"ExecStartPost=" SYSTEMD_MAKEFS_PATH " '%s' '/dev/mapper/%s'\n",
tmp_fstype_escaped ?: "ext4", name_escaped);
}
if (swap)
fprintf(f,
"ExecStartPost=" LIBEXECDIR "/systemd-makefs swap '/dev/mapper/%s'\n",
"ExecStartPost=" SYSTEMD_MAKEFS_PATH " swap '/dev/mapper/%s'\n",
name_escaped);
r = fflush_and_check(f);