diff options
author | Ross Burton <ross.burton@arm.com> | 2023-08-31 12:22:48 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-02 11:47:50 +0100 |
commit | da317d8dfc41a0112ad6b5f29681b17df1480cec (patch) | |
tree | 11a6c7f579d8aeb86089a695b179443136c15d48 /meta/recipes-connectivity/nfs-utils | |
parent | daa89365ffbff5fa7a4b46cddfe67ac6eb6fa5fa (diff) | |
download | poky-da317d8dfc41a0112ad6b5f29681b17df1480cec.tar.gz |
inetutils: don't guess target paths
inetutils guesses a lot of target paths in cross builds, and warns that
some of them are known to be wrong (for example, whether /proc/net/dev
exists is guessed as 'no').
Add a post-configure function to check for these warnings, and pass
--with-path-* as appropriate to set the paths explicitly.
This means we can remove the patch which was setting PATH_PROCNET_DEV,
and the autoconf cache value inetutils_cv_path_login.
The downside is that these --with-path-* options are not real autoconf
options, so the "unknown options" warning is emitted. Losing those is
an acceptable compromise, so disable it.
Musl doesn't implement utmp and has stub defines for _PATH_UTMP but not
_PATH_UTMPX, so we need to set the X variants explicitly.
(From OE-Core rev: 91179f89db127063dbdf998e15d63e04d6be53f7)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/nfs-utils')
0 files changed, 0 insertions, 0 deletions