Skip to content

Commit

Permalink
fix: Add support for AYANEO NEXT series in Anaconda
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Aug 28, 2024
1 parent 9975f14 commit b3e9de3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec_files/anaconda/anaconda.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Summary: Graphical system installer
Name: anaconda
Version: 40.22.3
Release: 100.bazzite
Release: 101.bazzite
License: GPL-2.0-or-later
URL: http://fedoraproject.org/wiki/Anaconda

Expand Down
4 changes: 2 additions & 2 deletions spec_files/anaconda/bazzite.patch
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ diff -Naur a/pyanaconda/display.py b/pyanaconda/display.py
+ with open("/sys/devices/virtual/dmi/id/product_name") as f:
+ dmi = f.read().strip()
+
+ if "Jupiter" in dmi or "Galileo" in dmi:
+ if "Jupiter" in dmi or "Galileo" in dmi or "NEXT" in dmi:
+ runres = "1280x800"
+
if runres and gui_mode and not flags.usevnc:
Expand All @@ -26,7 +26,7 @@ diff -Naur a/pyanaconda/ui/gui/__init__.py b/pyanaconda/ui/gui/__init__.py
+ with open("/sys/devices/virtual/dmi/id/product_name") as f:
+ dmi = f.read().strip()
+
+ if "Jupiter" in dmi or "Galileo" in dmi:
+ if "Jupiter" in dmi or "Galileo" in dmi or "NEXT" in dmi:
+ util.setenv("GDK_SCALE", "1")
+ return
+
Expand Down

0 comments on commit b3e9de3

Please sign in to comment.