From 1678bb9ee2a1ce476b5b153d9e79bb9813c33574 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 9 Sep 2024 22:50:27 +0100 Subject: libedit: Make docs generation deterministic The presence or lack of nroff on the host was changing the doc type. Stop the code from looking at host paths outside HOSTTOOLS and hence cause the doc type to be deterministic and reproducible. (From OE-Core rev: 343f40b0bc8ef65cc1e2abd6c9c33bb2e08bad3d) Signed-off-by: Richard Purdie (cherry picked from commit 918e2b266eba6779f19f65349f85caa880ba45e7) Signed-off-by: Steve Sakoman --- meta/recipes-devtools/libedit/libedit_20230828-3.1.bb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'meta/recipes-devtools') diff --git a/meta/recipes-devtools/libedit/libedit_20230828-3.1.bb b/meta/recipes-devtools/libedit/libedit_20230828-3.1.bb index 1684b57d31..8ea09e176a 100644 --- a/meta/recipes-devtools/libedit/libedit_20230828-3.1.bb +++ b/meta/recipes-devtools/libedit/libedit_20230828-3.1.bb @@ -15,6 +15,13 @@ SRC_URI = "http://www.thrysoee.dk/editline/${BP}.tar.gz \ " SRC_URI[sha256sum] = "4ee8182b6e569290e7d1f44f0f78dac8716b35f656b76528f699c69c98814dad" +# configure hardcodes /usr/bin search path bypassing HOSTTOOLS +CACHED_CONFIGUREVARS += "ac_cv_path_NROFF=/bin/false" + +# remove at next version upgrade or when output changes +PR = "r1" +HASHEQUIV_HASH_VERSION .= ".1" + BBCLASSEXTEND = "native nativesdk" inherit update-alternatives -- cgit v1.2.3-54-g00ecf