From 1700ea7ab320cc10f516a005e1a942d757d64bfc Mon Sep 17 00:00:00 2001 From: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Date: Sun, 31 Mar 2024 20:29:04 +0200 Subject: [PATCH] feat(just): add warning message for looking-glass shm creation. until we move over to the KVMFR kernel module --- .../usr/share/ublue-os/just/84-bazzite-virt.just | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/system_files/desktop/shared/usr/share/ublue-os/just/84-bazzite-virt.just b/system_files/desktop/shared/usr/share/ublue-os/just/84-bazzite-virt.just index 494a213a..06fd9a69 100644 --- a/system_files/desktop/shared/usr/share/ublue-os/just/84-bazzite-virt.just +++ b/system_files/desktop/shared/usr/share/ublue-os/just/84-bazzite-virt.just @@ -136,6 +136,16 @@ setup-virtualization ACTION="": echo "IOMMU is not supported on Steam Deck" exit 0 fi + echo "Bazzite currently uses a deprecated implementation of the Looking Glass shm." + echo "This implementation will not be supported in the future and we are in the process" + echo "of moving over to the KVMFR kernel module." + echo "Until this is done please open any Looking Glass issues you have in Bazzite" + echo "in the $(Urllink "https://discord.bazzite.gg/" "Bazzite Discord") or the $(Urllink "https://github.com/ublue-os/bazzite/issues" "Bazzite Github issue tracker")" + echo "~ @HikariKnight" + CONFIRM=$(Choose Ok Cancel) + if [ "$CONFIRM" == "Cancel" ]; then + exit 0 + fi echo "Creating tmpfile definition for shm file in /etc/tmpfiles.d/" sudo bash -c "tee << LOOKING_GLASS_TMP > /etc/tmpfiles.d/10-looking-glass.conf # Type Path Mode UID GID Age Argument