X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/blobdiff_plain/431b55f16c767aa4e42a273a50f98c058f02277b..26cedf124da42b6296aa3d1827eb5d7b55ac25e4:/tools/actions/container_manager.py diff --git a/tools/actions/container_manager.py b/tools/actions/container_manager.py index b527c73..898bb83 100644 --- a/tools/actions/container_manager.py +++ b/tools/actions/container_manager.py @@ -69,6 +69,8 @@ def start(args): # Graphics "/dev/dri", "/dev/graphics", + "/dev/pvr_sync", + "/dev/ion", ] # Framebuffers @@ -137,7 +139,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"): @@ -208,6 +211,12 @@ def stop(args): command = ["kill", "-9", pid] tools.helpers.run.user(args, command, check=False) + # Umount rootfs + helpers.images.umount_rootfs(args) + + # Umount data + helpers.mount.umount_all(args, tools.config.defaults["data"]) + else: logging.error("WayDroid container is {}".format(status))