tree-wide: use full paths to tools defined in config.h
This commit is contained in:
committed by
Mike Yuan
parent
e901e256d9
commit
96138c6237
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user