ubiquity: add workaround for mesa upgrade

This commit is contained in:
Luis Guzmán 2025-08-13 11:45:39 -06:00
parent 79c72f92d7
commit 8a814b3e6b
2 changed files with 15 additions and 1 deletions

View file

@ -0,0 +1,14 @@
diff --git a/bin/ubiquity b/bin/ubiquity
index e3f07a0c..5254f1f7 100755
--- a/bin/ubiquity
+++ b/bin/ubiquity
@@ -22,6 +22,9 @@ import locale
from operator import attrgetter
import optparse
import os
+# Force software GL for the installer; overridable by environment. (TPH!1804)
+if 'LIBGL_ALWAYS_SOFTWARE' not in os.environ:
+ os.environ['LIBGL_ALWAYS_SOFTWARE'] = '1'
import pwd
import shutil
import subprocess