]> code.ossystems Code Review - openembedded-core.git/commit
systemd: fix tmpfiles error on images without PAM
authorRoss Burton <ross.burton@intel.com>
Tue, 3 Mar 2015 11:54:25 +0000 (11:54 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 3 Mar 2015 12:59:19 +0000 (12:59 +0000)
commit46a54e7991b939f12a729e4d263d19130e0aea78
tree31b60bb88b44168cde15c404618ee025bf1ddb59
parent5c2f014406dc3e7baaea1c91827d7a7c660c2e1e
systemd: fix tmpfiles error on images without PAM

If PAM isn't enabled then systemd-tmpfiles on boot will fail to start with the
following error message:

Failed to copy files to /etc/pam.d: No such file or directory

This is because systemd-tmpfiles is attempting to build a usable /etc from the
skeleton in /usr/share/factory but pam.d isn't present because PAM is disabled.
Fix this by not attempting to copy pam.d in non-PAM configurations.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd/tmpfiles-pam.patch [new file with mode: 0644]
meta/recipes-core/systemd/systemd_219.bb