From 8a814b3e6bf29d2fdfedbf234561359e880c062a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Guzm=C3=A1n?= Date: Wed, 13 Aug 2025 11:45:39 -0600 Subject: [PATCH] ubiquity: add workaround for mesa upgrade --- ...orce_environment_software_gl_for_ubiquity.patch | 14 ++++++++++++++ helpers/make-ubiquity | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 helpers/DATA/ubiquity/patch_changes/006-force_environment_software_gl_for_ubiquity.patch diff --git a/helpers/DATA/ubiquity/patch_changes/006-force_environment_software_gl_for_ubiquity.patch b/helpers/DATA/ubiquity/patch_changes/006-force_environment_software_gl_for_ubiquity.patch new file mode 100644 index 0000000..59707e7 --- /dev/null +++ b/helpers/DATA/ubiquity/patch_changes/006-force_environment_software_gl_for_ubiquity.patch @@ -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 diff --git a/helpers/make-ubiquity b/helpers/make-ubiquity index 1604283..e5a30e5 100644 --- a/helpers/make-ubiquity +++ b/helpers/make-ubiquity @@ -19,7 +19,7 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -VERSION=41 +VERSION=42 . ./config