waydroid/mount-secontext.patch
Alessandro Astone 0f58766cb9 Update to 1.4.0
Add sepolicy for the new features
Patch upstream systemd service instead of duplicating it here
Use more strict appstream-util validate, since relaxed missed important issues
2023-02-08 17:49:21 +01:00

13 lines
483 B
Diff

diff --git a/tools/helpers/mount.py b/tools/helpers/mount.py
index a0d34be5..f507d668 100644
--- a/tools/helpers/mount.py
+++ b/tools/helpers/mount.py
@@ -133,7 +133,7 @@ def mount(args, source, destination, create_folders=True, umount=False,
destination)
extra_args = []
- opt_args = []
+ opt_args = ["context=\"system_u:object_r:waydroid_rootfs_t:s0\""]
if mount_type:
extra_args.extend(["-t", mount_type])
if readonly: