]> code.ossystems Code Review - openembedded-core.git/commitdiff
sudo: make sudoers a config file
authorDan McGregor <dan.mcgregor@usask.ca>
Mon, 8 Sep 2014 11:58:22 +0000 (12:58 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 Sep 2014 10:28:13 +0000 (11:28 +0100)
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>
meta/recipes-extended/sudo/sudo.inc

index 6de984a9f527024be956d68a90809e58dd7e5a60..1d7e5410241a4b4884f8be297fd0a56e8e7ef4f3 100644 (file)
@@ -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 () {