From 00e857cc33fd34ea9346f495d557b374464d61c7 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Thu, 23 Jan 2025 12:16:57 +0100 Subject: [PATCH] Remove unneeded assert --- mkosi/mounts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkosi/mounts.py b/mkosi/mounts.py index edca3c3e0..e32d48795 100644 --- a/mkosi/mounts.py +++ b/mkosi/mounts.py @@ -75,7 +75,7 @@ def finalize_source_mounts( "BuildSourcesEphemeral=buildcache was configured, but no build directory exists.", # noqa: E501 hint="Configure BuildDirectory= or create mkosi.builddir.", ) - assert config.build_dir + upperdir = config.build_dir / f"mkosi.buildovl.{src.name}" upperdir.mkdir(mode=src.stat().st_mode, exist_ok=True) else: