diff --git a/system_files/desktop/shared/usr/lib/systemd/system/waydroid-workaround.service b/system_files/desktop/shared/usr/lib/systemd/system/waydroid-workaround.service deleted file mode 100644 index edff52023a..0000000000 --- a/system_files/desktop/shared/usr/lib/systemd/system/waydroid-workaround.service +++ /dev/null @@ -1,20 +0,0 @@ -[Unit] -Description=Workaround waydroid not having the correct label -ConditionPathExists=/usr/lib/waydroid -After=local-fs.target - -[Service] -Type=oneshot -# Copy if it doesn't exist -ExecStartPre=/usr/bin/bash -c "[ -d /usr/local/lib/.waydroid ] || /usr/bin/cp -r /usr/lib/waydroid /usr/local/lib/.waydroid" -# 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 -R /usr/lib/waydroid -# Clean-up after ourselves -ExecStop=/usr/bin/umount /usr/lib/waydroid -ExecStop=/usr/bin/rm -r /usr/local/lib/.waydroid -RemainAfterExit=yes - -[Install] -WantedBy=multi-user.target diff --git a/system_files/desktop/shared/usr/lib/tmpfiles.d/setroubleshoot-workaround.conf b/system_files/desktop/shared/usr/lib/tmpfiles.d/setroubleshoot-workaround.conf deleted file mode 100644 index fb0494ca0a..0000000000 --- a/system_files/desktop/shared/usr/lib/tmpfiles.d/setroubleshoot-workaround.conf +++ /dev/null @@ -1 +0,0 @@ -d /var/lib/setroubleshoot 0755 setroubleshoot setroubleshoot - - \ No newline at end of file diff --git a/system_files/desktop/shared/usr/lib/tmpfiles.d/waydroid-workaround.conf b/system_files/desktop/shared/usr/lib/tmpfiles.d/waydroid-workaround.conf deleted file mode 100644 index 94e42c44e5..0000000000 --- a/system_files/desktop/shared/usr/lib/tmpfiles.d/waydroid-workaround.conf +++ /dev/null @@ -1 +0,0 @@ -C /usr/local/lib/.waydroid - - - - /usr/lib/waydroid