]> glassweightruler.freedombox.rocks Git - waydroid.git/commitdiff
container: Use umount -l for schedtune
authorErfan Abdi <erfangplus@gmail.com>
Tue, 19 Oct 2021 02:29:19 +0000 (05:59 +0330)
committerErfan Abdi <erfangplus@gmail.com>
Tue, 19 Oct 2021 02:29:19 +0000 (05:59 +0330)
tools/actions/container_manager.py

index 24e410bd83bf6d95787a7178b085262d94df943d..1b9480ca28d4527cecaf588e7a8bc40e48936475 100644 (file)
@@ -137,7 +137,8 @@ def start(args):
         if which("start"):
             command = ["start", "cgroup-lite"]
             tools.helpers.run.user(args, command, check=False)
-        helpers.mount.umount_all(args, "/sys/fs/cgroup/schedtune")
+        command = ["umount", "-l", "/sys/fs/cgroup/schedtune"]
+        tools.helpers.run.user(args, command, check=False)
 
         #TODO: remove NFC hacks
         if which("stop"):