diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-03 14:13:31 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-11 23:05:12 +0000 |
commit | b9ed51589836c097d608e8c1440931bf08acad19 (patch) | |
tree | 77c484d2b8b5564676cc366443ccf099c12c507f /meta/recipes-extended/sudo/sudo_1.8.27.bb | |
parent | 632bbf4bd78690d787a188ca1185f46c5dca1d98 (diff) | |
download | poky-b9ed51589836c097d608e8c1440931bf08acad19.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)
(From OE-Core rev: 51274c9b195ad00dd6362f352ad9bbf7e9a3e098)
(From OE-Core rev: 89f517c2775338db92874484c28b4224d670ec1f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sudo/sudo_1.8.27.bb')
-rw-r--r-- | meta/recipes-extended/sudo/sudo_1.8.27.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/sudo/sudo_1.8.27.bb b/meta/recipes-extended/sudo/sudo_1.8.27.bb index 0a11a1b28f..ee3be95644 100644 --- a/meta/recipes-extended/sudo/sudo_1.8.27.bb +++ b/meta/recipes-extended/sudo/sudo_1.8.27.bb | |||
@@ -19,6 +19,7 @@ EXTRA_OECONF += " \ | |||
19 | ac_cv_type_rsize_t=no \ | 19 | ac_cv_type_rsize_t=no \ |
20 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)} \ | 20 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)} \ |
21 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--enable-tmpfiles.d=${nonarch_libdir}/tmpfiles.d', '--disable-tmpfiles.d', d)} \ | 21 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--enable-tmpfiles.d=${nonarch_libdir}/tmpfiles.d', '--disable-tmpfiles.d', d)} \ |
22 | --with-vardir=/var/lib/sudo \ | ||
22 | " | 23 | " |
23 | 24 | ||
24 | do_install_append () { | 25 | do_install_append () { |