Merge pull request #931 from ublue-os/looking-glass-warning

feat(just): add warning message for looking-glass shm creation.
This commit is contained in:
RJ Trujillo 2024-03-31 13:21:13 -06:00 committed by GitHub
commit 38e97b70fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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