From: Daan De Meyer Date: Wed, 7 Jun 2023 11:59:14 +0000 (+0200) Subject: Don't require extra trees to exist when parsing config X-Git-Tag: v15~123^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13fdab0a0a9b8e34f7776c716ab4dbdee15d5255;p=thirdparty%2Fmkosi.git Don't require extra trees to exist when parsing config These might be created by a preset so leave checking whether these exist to check_inputs(). --- diff --git a/mkosi/config.py b/mkosi/config.py index 3c526e60f..c857bd874 100644 --- a/mkosi/config.py +++ b/mkosi/config.py @@ -116,7 +116,7 @@ def parse_path(value: str, def parse_source_target_paths(value: str) -> tuple[Path, Optional[Path]]: src, sep, target = value.partition(':') - src_path = parse_path(src, required=True) + src_path = parse_path(src, required=False) if sep: target_path = parse_path(target, required=False, absolute=False, expanduser=False) if not target_path.is_absolute():