diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/tmpfiles-pam.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/tmpfiles-pam.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/tmpfiles-pam.patch b/meta/recipes-core/systemd/systemd/tmpfiles-pam.patch new file mode 100644 index 0000000000..a40b1b9d3f --- /dev/null +++ b/meta/recipes-core/systemd/systemd/tmpfiles-pam.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | Upstream-Status: Submitted | ||
2 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
3 | |||
4 | From 0802aaaa9784813d318d045c79533a044eedf542 Mon Sep 17 00:00:00 2001 | ||
5 | From: Ross Burton <ross.burton@intel.com> | ||
6 | Date: Tue, 3 Mar 2015 11:32:29 +0000 | ||
7 | Subject: [PATCH] tmpfiles.d: only copy /etc/pam.d if PAM is present | ||
8 | |||
9 | If HAVE_PAM isn't set then don't attempt to copy /etc/pam.d from the factory, as | ||
10 | it doesn't get installed. | ||
11 | |||
12 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
13 | --- | ||
14 | tmpfiles.d/etc.conf.m4 | 2 ++ | ||
15 | 1 file changed, 2 insertions(+) | ||
16 | |||
17 | diff --git a/tmpfiles.d/etc.conf.m4 b/tmpfiles.d/etc.conf.m4 | ||
18 | index 9b0e080..ab5cd16 100644 | ||
19 | --- a/tmpfiles.d/etc.conf.m4 | ||
20 | +++ b/tmpfiles.d/etc.conf.m4 | ||
21 | @@ -14,4 +14,6 @@ m4_ifdef(`ENABLE_RESOLVED', | ||
22 | L /etc/resolv.conf - - - - ../run/systemd/resolve/resolv.conf | ||
23 | )m4_dnl | ||
24 | C /etc/nsswitch.conf - - - - | ||
25 | +m4_ifdef(`HAVE_PAM', | ||
26 | C /etc/pam.d - - - - | ||
27 | +)m4_dnl | ||
28 | -- | ||
29 | 1.7.10.4 | ||
30 | |||