summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sudo/sudo.inc
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:33:22 +0100
commit38a44d4e60d12d8ac005dde1ba7065caa976f641 (patch)
treedfce1d565f29c40f6f2fc4f546f020a2c17922fc /meta/recipes-extended/sudo/sudo.inc
parent60bfdb0f1945ac7da4522b8f411ab62f0c44e18d (diff)
downloadast2050-yocto-poky-38a44d4e60d12d8ac005dde1ba7065caa976f641.zip
ast2050-yocto-poky-38a44d4e60d12d8ac005dde1ba7065caa976f641.tar.gz
sudo: make sudoers a config file
(From OE-Core rev: c840369a65ee5041154e12fdd8919938856a0a6c) 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/sudo.inc')
-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 6de984a..1d7e541 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 () {
OpenPOWER on IntegriCloud