summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-03 14:13:31 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-04 15:56:29 +0000
commitc54a86730df5696ed8c36c7b887102554344d321 (patch)
tree5f0c8019829cae3dab3a2f432a5f8cdac0e1dda1
parentfb9d7c967025dee5cff9e73eb4fcc6ddfc0bf2ea (diff)
downloadpoky-c54a86730df5696ed8c36c7b887102554344d321.tar.gz
sudo: Set vardir deterministically
Without setting this it will vary depending on which directories are present on the host. [YOCTO #13775] (From OE-Core rev: 39fe849b56d70689846262c31ab7c182c8443923) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/sudo/sudo_1.8.29.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/sudo/sudo_1.8.29.bb b/meta/recipes-extended/sudo/sudo_1.8.29.bb
index 8da2d64631..7089e1a1d2 100644
--- a/meta/recipes-extended/sudo/sudo_1.8.29.bb
+++ b/meta/recipes-extended/sudo/sudo_1.8.29.bb
@@ -17,6 +17,7 @@ EXTRA_OECONF += " \
17 ac_cv_type_rsize_t=no \ 17 ac_cv_type_rsize_t=no \
18 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)} \ 18 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)} \
19 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--enable-tmpfiles.d=${nonarch_libdir}/tmpfiles.d', '--disable-tmpfiles.d', d)} \ 19 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--enable-tmpfiles.d=${nonarch_libdir}/tmpfiles.d', '--disable-tmpfiles.d', d)} \
20 --with-vardir=/var/lib/sudo \
20 " 21 "
21 22
22do_install_append () { 23do_install_append () {