From: Daan De Meyer Date: Fri, 12 May 2023 15:16:21 +0000 (+0200) Subject: repart: Make sure we look up dropin files in the root directory X-Git-Tag: v254-rc1~491^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F27633%2Fhead;p=thirdparty%2Fsystemd.git repart: Make sure we look up dropin files in the root directory --- diff --git a/src/partition/repart.c b/src/partition/repart.c index 30d341f795a..1f3e78a84ec 100644 --- a/src/partition/repart.c +++ b/src/partition/repart.c @@ -1638,7 +1638,7 @@ static int partition_read_definition(Partition *p, const char *path, const char STRV_MAKE_CONST(path), conf_file_dirs, dropin_dirname, - /* root = */ NULL, + arg_definitions ? NULL : arg_root, "Partition\0", config_item_table_lookup, table, CONFIG_PARSE_WARN,