diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2013-04-27 18:33:58 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-05-03 16:12:53 +0200 |
commit | 088263913ae0ae7d8f678d473c057e72a1414d89 (patch) | |
tree | d7ddda8507126a62bb06475be41e4943d086a6c3 /meta-gnome | |
parent | ded05523d2530b44568980face1a057c1bb78249 (diff) | |
download | meta-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-.patch | 34 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb | 3 |
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 @@ | |||
1 | From 43e59f3deadb3914a1cc931ae18d4023874cdeca Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
3 | Date: Fri, 26 Apr 2013 17:15:48 +0200 | ||
4 | Subject: [PATCH] gdm-user-manager.c: avoid displaying system users in | ||
5 | greeter's list | ||
6 | MIME-Version: 1.0 | ||
7 | Content-Type: text/plain; charset=UTF-8 | ||
8 | Content-Transfer-Encoding: 8bit | ||
9 | |||
10 | yocto environment system users have UID below 1000 | ||
11 | |||
12 | Upstream-Status: Inappropriate [configuration] | ||
13 | |||
14 | Signed-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 | |||
19 | diff --git a/gui/simple-greeter/gdm-user-manager.c b/gui/simple-greeter/gdm-user-manager.c | ||
20 | index 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 | -- | ||
33 | 1.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 | ||
5 | DEPENDS = "xinput gnome-panel tcp-wrappers libcanberra libxklavier grep consolekit libpam gnome-doc-utils gtk+ xrdb" | 5 | DEPENDS = "xinput gnome-panel tcp-wrappers libcanberra libxklavier grep consolekit libpam gnome-doc-utils gtk+ xrdb" |
6 | 6 | ||
7 | PR = "r16" | 7 | PR = "r17" |
8 | 8 | ||
9 | inherit gnome update-rc.d systemd useradd | 9 | inherit gnome update-rc.d systemd useradd |
10 | 10 | ||
11 | SRC_URI += " \ | 11 | SRC_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 \ |