diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-21 17:11:52 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-04 11:45:47 +0000 |
commit | dce87b88fe08b048877a3b29b65135a248689c0f (patch) | |
tree | a8265c61bdc174374d932e63bfcbdc4b273ce959 | |
parent | ce6e7b9f3f63a589e6bea992af691c6a7befa26e (diff) | |
download | poky-dce87b88fe08b048877a3b29b65135a248689c0f.tar.gz |
groff: Fix reproducibility issue
groff chooses a default papersize depending on the value from /etc/papersize
and failing that, the search domain in /etc/resolv.conf based on the comment
in configure:
"""
If the top-level domain is two letters and it's not 'us' or 'ca'
then they probably use A4 paper.
"""
Oddly, my system sets to "a4" in /etc/papersize which means it defaults to
"letter" since its != "A4".
These defaults ripple through to cause the output of man-db to change depending
on which default value was selected.
To resolve this, set a default of "A4" since that covers the larger population
of the two default values.
(From OE-Core rev: e300796a7877ba854d5793c660a9b924a5942874)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6cb511bfbd18258c782ee18f054a2590e4daaddc)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/groff/groff_1.22.4.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/groff/groff_1.22.4.bb b/meta/recipes-extended/groff/groff_1.22.4.bb index e398478349..0867452ce7 100644 --- a/meta/recipes-extended/groff/groff_1.22.4.bb +++ b/meta/recipes-extended/groff/groff_1.22.4.bb | |||
@@ -28,7 +28,7 @@ MULTILIB_SCRIPTS = "${PN}:${bindir}/gpinyin ${PN}:${bindir}/groffer ${PN}:${bind | |||
28 | EXTRA_OECONF = "--without-x --without-doc" | 28 | EXTRA_OECONF = "--without-x --without-doc" |
29 | PARALLEL_MAKE = "" | 29 | PARALLEL_MAKE = "" |
30 | 30 | ||
31 | CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl' ac_cv_path_BASH_PROG='no'" | 31 | CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl' ac_cv_path_BASH_PROG='no' PAGE=A4" |
32 | 32 | ||
33 | do_install_append() { | 33 | do_install_append() { |
34 | # Some distros have both /bin/perl and /usr/bin/perl, but we set perl location | 34 | # Some distros have both /bin/perl and /usr/bin/perl, but we set perl location |