gdm: backport dropping 61-gdm.rules

This file implements checks for disabling Wayland with certain
setups, such as the proprietary NVIDIA driver.

While most of the NVIDIA checks were removed in gdm 48, a check
still remains testing the presence of systemd user services, which
always fails since it is handled by an elogind system-sleep script.

This file was removed entirely with gdm 49+.
This commit is contained in:
oreo639
2026-02-03 11:37:09 -08:00
committed by oreo639
parent 52014f19d4
commit 14627bd2a5
2 changed files with 42 additions and 1 deletions
@@ -0,0 +1,41 @@
From 56bf0d707ad8d920798532f507766908d504df8f Mon Sep 17 00:00:00 2001
From: Alessandro Astone <alessandro.astone@canonical.com>
Date: Wed, 18 Jun 2025 12:04:10 +0200
Subject: [PATCH] Drop udev rules
The sole purpose of this set of udev rules was to conditionally disable
Wayland. With commit 38fa8b947f8e8a34a295d581ffa975239be5d1ef dropping the
`gdm-runtime-config` call, there is no logic left here.
Part-of: <https://gitlab.gnome.org/GNOME/gdm/-/merge_requests/299>
---
data/61-gdm.rules.in | 56 --------------------------------------------
data/meson.build | 11 ---------
2 files changed, 67 deletions(-)
delete mode 100644 data/61-gdm.rules.in
diff --git a/data/meson.build b/data/meson.build
index 6f0ff7861..5d0703ef7 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -140,17 +140,6 @@ foreach _pam_filename : pam_data_files
)
endforeach
-if have_x11_support
- configure_file(
- input: '61-gdm.rules.in',
- output: '@BASENAME@',
- configuration: {
- 'libexecdir': gdm_prefix / get_option('libexecdir'),
- },
- install_dir: udev_dir,
- )
-endif
-
# DBus service files
service_config = configuration_data()
service_config.set('sbindir', gdm_prefix / get_option('sbindir'))
--
GitLab
+1 -1
View File
@@ -1,7 +1,7 @@
# Template file for 'gdm'
pkgname=gdm
version=48.0
revision=1
revision=2
build_helper="gir"
build_style=meson
configure_args="