import glob
import signal
import sys
+import uuid
import tools.config
from tools import helpers
from tools import services
# Mount rootfs
helpers.images.mount_rootfs(args, cfg["waydroid"]["images_path"])
+ helpers.protocol.set_aidl_version(args)
+
# Mount data
helpers.mount.bind(args, session_cfg["session"]["waydroid_data"],
tools.config.defaults["data"])
if which("start"):
command = ["start", "cgroup-lite"]
tools.helpers.run.user(args, command, check=False)
- command = ["umount", "-l", "/sys/fs/cgroup/schedtune"]
- tools.helpers.run.user(args, command, check=False)
+ if os.path.ismount("/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"):