Matt Spinler | 31ab8e7 | 2018-10-16 11:32:13 -0500 | [diff] [blame^] | 1 | do_install_append() { |
2 | # The libpam recipe will always add a pam_systemd.so line to | ||||
3 | # common-session if systemd is enabled; however systemd only | ||||
4 | # builds pam_systemd.so if logind is enabled, and we disable | ||||
5 | # that package. So, remove the pam_systemd.so line here. | ||||
6 | sed -i '/pam_systemd.so/d' ${D}${sysconfdir}/pam.d/common-session | ||||
7 | } |