summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/recipes-extended/pam/libpam_%.bbappend
blob: 714496a9473cebe87aa4355cca9acd32b46d2076 (plain)
1
2
3
4
5
6
7
do_install_append() {
    # The libpam recipe will always add a pam_systemd.so line to
    # common-session if systemd is enabled; however systemd only
    # builds pam_systemd.so if logind is enabled, and we disable
    # that package.  So, remove the pam_systemd.so line here.
    sed -i '/pam_systemd.so/d' ${D}${sysconfdir}/pam.d/common-session
}
OpenPOWER on IntegriCloud