summaryrefslogtreecommitdiff
path: root/recipes-extended/sudo/sudo_%.bbappend
blob: a1e4b0485199168cc6761e10fb1e48b11d3263d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
SRC_URI += "file://sudoers.patch \
            file://privacy"

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"


CONFFILES_${PN} += "${sysconfdir}/sudoers.d/privacy"

do_install_append() {
    install -D -m 644 ${WORKDIR}/privacy ${D}/${sysconfdir}/sudoers.d
}