summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sudo
diff options
context:
space:
mode:
authorDan McGregor <dan.mcgregor@usask.ca>2014-09-08 12:58:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-10 11:28:13 +0100
commitc840369a65ee5041154e12fdd8919938856a0a6c (patch)
treec492471478e806a8223791aea2f4c999a1e1686d /meta/recipes-extended/sudo
parentcd5e0f01cdb4e7c759c01cf3f87952a20253737c (diff)
downloadopenembedded-core-c840369a65ee5041154e12fdd8919938856a0a6c.tar.gz
openembedded-core-c840369a65ee5041154e12fdd8919938856a0a6c.tar.bz2
openembedded-core-c840369a65ee5041154e12fdd8919938856a0a6c.zip
sudo: make sudoers a config file
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sudo')
-rw-r--r--meta/recipes-extended/sudo/sudo.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc
index 6de984a9f5..1d7e541024 100644
--- a/meta/recipes-extended/sudo/sudo.inc
+++ b/meta/recipes-extended/sudo/sudo.inc
@@ -18,6 +18,8 @@ inherit autotools
PACKAGECONFIG ??= ""
PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib"
+CONFFILES_${PN} = "${sysconfdir}/sudoers"
+
EXTRA_OECONF = "--with-editor=/bin/vi --with-env-editor"
do_configure_prepend () {