diff options
author | Ross Burton <ross.burton@intel.com> | 2020-02-07 14:29:28 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-11 23:05:13 +0000 |
commit | 5737722432ce26d961c3fb556651056aedb34526 (patch) | |
tree | 0bce9e3f52198e7c1882c3c934c52634f77482e5 /meta/recipes-extended/sudo/sudo.inc | |
parent | 74efd4db8b7e7c7c965a7074e1f085e6a4a718fd (diff) | |
download | poky-5737722432ce26d961c3fb556651056aedb34526.tar.gz |
sudo: specify where target tools are
sudo uses AC_PATH_PROG to find target paths, which means at best
potential host-contamination (and reproducible issues) and at worst it
thinks sh is at /your/build/path/hosttools/sh.
Solve this by explicitly passing the correct paths to configure.
(From OE-Core rev: 61650dd8498a093f3bfa93202c9cd2e9a7fb7834)
(From OE-Core rev: 6e809474ab686fba6924d8b46fd0b9eab5c66c06)
(From OE-Core rev: 232430bdee74bb266ded6ccf2fb3842caad06181)
Signed-off-by: Ross Burton <ross.burton@intel.com>
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.inc')
-rw-r--r-- | meta/recipes-extended/sudo/sudo.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc index 15075bcefd..4edfabe510 100644 --- a/meta/recipes-extended/sudo/sudo.inc +++ b/meta/recipes-extended/sudo/sudo.inc | |||
@@ -26,7 +26,7 @@ PACKAGECONFIG[pam-wheel] = ",,,pam-plugin-wheel" | |||
26 | 26 | ||
27 | CONFFILES_${PN} = "${sysconfdir}/sudoers" | 27 | CONFFILES_${PN} = "${sysconfdir}/sudoers" |
28 | 28 | ||
29 | EXTRA_OECONF = "--with-editor=/bin/vi --with-env-editor" | 29 | EXTRA_OECONF = "--with-editor=${base_bindir}/vi --with-env-editor" |
30 | 30 | ||
31 | EXTRA_OECONF_append_libc-musl = " --disable-hardening " | 31 | EXTRA_OECONF_append_libc-musl = " --disable-hardening " |
32 | 32 | ||