From c8bcaf0e4a2c27321f6d3017bf71653bd908f360 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Fri, 20 Sep 2024 13:56:09 +0200 Subject: [PATCH] Replace --tmpfs with --dir for tmpfs directories The root is already a tmpfs so no need to put separate tmpfs directories on top of individual directories. --- mkosi/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkosi/run.py b/mkosi/run.py index 4273aeba1..261c017a2 100644 --- a/mkosi/run.py +++ b/mkosi/run.py @@ -579,7 +579,7 @@ def sandbox_cmd( if tmp: cmdline += ["--bind", tmp, Path("/") / d] else: - cmdline += ["--tmpfs", Path("/") / d] + cmdline += ["--dir", Path("/") / d] # If we put an overlayfs on /var, and /var/tmp is not in the sandbox tree, make sure /var/tmp is a bind mount # of a regular empty directory instead of the overlays so tools like systemd-repart can use the underlying -- 2.47.2