From: Daan De Meyer Date: Fri, 20 Sep 2024 11:56:09 +0000 (+0200) Subject: Replace --tmpfs with --dir for tmpfs directories X-Git-Tag: v25~278^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3055%2Fhead;p=thirdparty%2Fmkosi.git 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. --- 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