diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0015-systemd-user-avoid-using-system-auth.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0015-systemd-user-avoid-using-system-auth.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/0015-systemd-user-avoid-using-system-auth.patch b/meta/recipes-core/systemd/systemd/0015-systemd-user-avoid-using-system-auth.patch new file mode 100644 index 0000000000..a351237338 --- /dev/null +++ b/meta/recipes-core/systemd/systemd/0015-systemd-user-avoid-using-system-auth.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From f70a1a9605cd3adac450c49a5a69da6e9acda517 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 20 Feb 2015 05:26:25 +0000 | ||
4 | Subject: [PATCH 15/36] systemd-user: avoid using system-auth | ||
5 | |||
6 | In OE, we don't provide system-auth, instead, we use common-* files. | ||
7 | So modify systemd-user file to use common-* files. | ||
8 | |||
9 | Upstream-Status: Inappropriate [oe specific] | ||
10 | |||
11 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
13 | --- | ||
14 | src/login/systemd-user.m4 | 4 ++-- | ||
15 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
16 | |||
17 | diff --git a/src/login/systemd-user.m4 b/src/login/systemd-user.m4 | ||
18 | index 7933508..16b73d2 100644 | ||
19 | --- a/src/login/systemd-user.m4 | ||
20 | +++ b/src/login/systemd-user.m4 | ||
21 | @@ -2,10 +2,10 @@ | ||
22 | # | ||
23 | # Used by systemd --user instances. | ||
24 | |||
25 | -account include system-auth | ||
26 | +account include common-account | ||
27 | |||
28 | m4_ifdef(`HAVE_SELINUX', | ||
29 | session required pam_selinux.so close | ||
30 | session required pam_selinux.so nottys open | ||
31 | )m4_dnl | ||
32 | -session include system-auth | ||
33 | +session include common-session | ||
34 | -- | ||
35 | 1.8.3.1 | ||
36 | |||