]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Mount /sys, /run and /dev in relaxed mode as well
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 8 Jan 2024 10:32:14 +0000 (11:32 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 8 Jan 2024 10:32:14 +0000 (11:32 +0100)
mkosi/sandbox.py

index fc408e24e016584d50d65979940d88eb42126bbc..002a0a8410d7eb84fe09d41ad6b47c023c67984b 100644 (file)
@@ -91,7 +91,7 @@ def sandbox_cmd(
     if (tools / "nix/store").exists():
         cmdline += ["--bind", tools / "nix/store", "/nix/store"]
 
-    if devices:
+    if devices or relaxed:
         cmdline += [
             "--bind", "/sys", "/sys",
             "--bind", "/run", "/run",