ruby: Make docs generation deterministic
PATCH 1/2 ruby: Make docs generation deterministic
The presence or lack of nroff on the host was changing the doc type. Set it explicitly to be deterministic and reproducible.
Signed-off-by Richard Purdie <[email protected]>
--- meta/recipes-devtools/ruby/ruby_3.3.4.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/ruby/ruby_3.3.4.bb +1 -0
@@ -67,6 +67,7 @@ EXTRA_OECONF = "\ --enable-load-relative \ --with-pkg-config=pkg-config \ --with-static-linked-ext \ + --with-mantype=man \ " EXTRA_OECONF:append:libc-musl = "\
PATCH 2/2 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.
Signed-off-by Richard Purdie <[email protected]>
--- meta/recipes-devtools/libedit/libedit_20240808-3.1.bb | 7 +++++++ 1 file changed, 7 insertions(+)
meta/recipes-devtools/libedit/libedit_20240808-3.1.bb +7 -0
@@ -15,4 +15,11 @@ SRC_URI = "http://www.thrysoee.dk/editline/${BP}.tar.gz \ " SRC_URI[sha256sum] = "5f0573349d77c4a48967191cdd6634dd7aa5f6398c6a57fe037cc02696d6099f" +# 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"