summaryrefslogtreecommitdiffstats
path: root/meta-gnome
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2013-04-27 18:33:58 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-05-03 16:12:53 +0200
commit088263913ae0ae7d8f678d473c057e72a1414d89 (patch)
treed7ddda8507126a62bb06475be41e4943d086a6c3 /meta-gnome
parentded05523d2530b44568980face1a057c1bb78249 (diff)
downloadmeta-openembedded-088263913ae0ae7d8f678d473c057e72a1414d89.tar.gz
gdm: avoid displaying system users in greeter's list
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-gnome')
-rw-r--r--meta-gnome/recipes-gnome/gdm/gdm/0002-gdm-user-manager.c-avoid-displaying-system-users-in-.patch34
-rw-r--r--meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb3
2 files changed, 36 insertions, 1 deletions
diff --git a/meta-gnome/recipes-gnome/gdm/gdm/0002-gdm-user-manager.c-avoid-displaying-system-users-in-.patch b/meta-gnome/recipes-gnome/gdm/gdm/0002-gdm-user-manager.c-avoid-displaying-system-users-in-.patch
new file mode 100644
index 000000000..ad21073a0
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gdm/gdm/0002-gdm-user-manager.c-avoid-displaying-system-users-in-.patch
@@ -0,0 +1,34 @@
1From 43e59f3deadb3914a1cc931ae18d4023874cdeca Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Fri, 26 Apr 2013 17:15:48 +0200
4Subject: [PATCH] gdm-user-manager.c: avoid displaying system users in
5 greeter's list
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10yocto environment system users have UID below 1000
11
12Upstream-Status: Inappropriate [configuration]
13
14Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
15---
16 gui/simple-greeter/gdm-user-manager.c | 2 +-
17 1 files changed, 1 insertions(+), 1 deletions(-)
18
19diff --git a/gui/simple-greeter/gdm-user-manager.c b/gui/simple-greeter/gdm-user-manager.c
20index c631989..f18e478 100644
21--- a/gui/simple-greeter/gdm-user-manager.c
22+++ b/gui/simple-greeter/gdm-user-manager.c
23@@ -63,7 +63,7 @@
24 #ifdef __sun
25 #define FALLBACK_MINIMAL_UID 100
26 #else
27-#define FALLBACK_MINIMAL_UID 500
28+#define FALLBACK_MINIMAL_UID 1000
29 #endif
30
31 #ifndef _PATH_SHELLS
32--
331.7.4.4
34
diff --git a/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb b/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
index 87efc28e8..09a6f93da 100644
--- a/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
+++ b/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
@@ -4,13 +4,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
4 4
5DEPENDS = "xinput gnome-panel tcp-wrappers libcanberra libxklavier grep consolekit libpam gnome-doc-utils gtk+ xrdb" 5DEPENDS = "xinput gnome-panel tcp-wrappers libcanberra libxklavier grep consolekit libpam gnome-doc-utils gtk+ xrdb"
6 6
7PR = "r16" 7PR = "r17"
8 8
9inherit gnome update-rc.d systemd useradd 9inherit gnome update-rc.d systemd useradd
10 10
11SRC_URI += " \ 11SRC_URI += " \
12 file://cross-xdetection.diff \ 12 file://cross-xdetection.diff \
13 file://0001-Remove-user-switch-applet.patch \ 13 file://0001-Remove-user-switch-applet.patch \
14 file://0002-gdm-user-manager.c-avoid-displaying-system-users-in-.patch \
14 file://sysrooted-pkg-config.patch \ 15 file://sysrooted-pkg-config.patch \
15 file://%gconf-tree.xml \ 16 file://%gconf-tree.xml \
16 file://gdm \ 17 file://gdm \