mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-30 12:32:37 +00:00
chore: Restore selinux labels recursively for waydroid folder
This commit is contained in:
parent
5a8b5b1d59
commit
b8aff9728a
@ -10,7 +10,7 @@ ExecStartPre=/usr/bin/bash -c "[ -d /usr/local/lib/.waydroid ] || /usr/bin/cp -r
|
||||
# This is faster than using .mount unit. Also allows for the previous line/cleanup
|
||||
ExecStartPre=/usr/bin/mount --bind /usr/local/lib/.waydroid /usr/lib/waydroid
|
||||
# Fix SELinux label
|
||||
ExecStart=/usr/sbin/restorecon /usr/lib/waydroid
|
||||
ExecStart=/usr/sbin/restorecon -R /usr/lib/waydroid
|
||||
# Clean-up after ourselves
|
||||
ExecStop=/usr/bin/umount /usr/lib/waydroid
|
||||
ExecStop=/usr/bin/rm -r /usr/local/lib/.waydroid
|
||||
|
Loading…
x
Reference in New Issue
Block a user