From c54a86730df5696ed8c36c7b887102554344d321 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 3 Feb 2020 14:13:31 +0000 Subject: 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 --- meta/recipes-extended/sudo/sudo_1.8.29.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-extended') 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 += " \ ac_cv_type_rsize_t=no \ ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--enable-tmpfiles.d=${nonarch_libdir}/tmpfiles.d', '--disable-tmpfiles.d', d)} \ + --with-vardir=/var/lib/sudo \ " do_install_append () { -- cgit v1.2.3-54-g00ecf