All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nikolay Merinov <n.merinov@inango-systems.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH v2] sudo: provide sudo paths through EXTRA_OECONF
Date: Wed, 20 Dec 2017 14:00:02 +0500	[thread overview]
Message-ID: <20171220090002.32459-1-n.merinov@inango-systems.com> (raw)
In-Reply-To: <4c9642c6-7d91-f1b5-a399-5f9e264fa1d6@linux.intel.com>

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.merinov@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



      reply	other threads:[~2017-12-20  9:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-06 10:28 [PATCH] sudo: provide sudo paths through EXTRA_OECONF Nikolay Merinov
2017-12-06 17:16 ` Alexander Kanavin
2017-12-20  9:00   ` Nikolay Merinov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171220090002.32459-1-n.merinov@inango-systems.com \
    --to=n.merinov@inango-systems.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.