blob: bfa8afe650d6b272193b12699f06c482d57b32ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
PR = "r3"
DEPENDS = "libpam"
RDEPENDS = "libpam libpam-meta"
SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \
file://sudo.pamd \
"
EXTRA_OECONF += " --with-pam "
require sudo.inc
# Do in the recipe not the common inc as not all SUDO recipes want PAM support.
do_install_append() {
install -d ${D}${sysconfdir}/pam.d/
install -m 0644 ${WORKDIR}/sudo.pamd ${D}${sysconfdir}/pam.d/sudo
}
|