Configure script for a sudo utility trying to figure out "vardir", "iologdir", "rundir" and "logpath" from directory structure on build machine. If none of a standart paths present on a build machine then variables will be set to empty string and sudo build will fail with "Installed but not shipped" error.
Signed-off-by: Nikolay Merinov <n.meri...@inango-systems.com> --- meta/recipes-extended/sudo/sudo_1.8.21p2.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-extended/sudo/sudo_1.8.21p2.bb b/meta/recipes-extended/sudo/sudo_1.8.21p2.bb index acd0025abc..cb1646359e 100644 --- a/meta/recipes-extended/sudo/sudo_1.8.21p2.bb +++ b/meta/recipes-extended/sudo/sudo_1.8.21p2.bb @@ -17,6 +17,10 @@ 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=${libdir}/tmpfiles.d', '--disable-tmpfiles.d', d)} \ + --with-vardir=${localstatedir}/lib/sudo \ + --with-iologdir=${localstatedir}/log/sudo-io \ + --with-rundir=${localstatedir}/run/sudo \ + --with-logpath=${localstatedir}/log/sudo.log \ " do_install_append () { -- 2.14.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core