summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-07 20:52:48 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-20 00:49:46 +0000
commit6de2152693c31ee1181e9eacc32b90dd63d4e0a9 (patch)
tree9337512b35b73728e96f711e8e50e402942d8cfe /meta/recipes-extended
parentab4406dfdbd5e21f6fff0865228ebf5da1274505 (diff)
downloadopenembedded-core-contrib-6de2152693c31ee1181e9eacc32b90dd63d4e0a9.tar.gz
bash: Set HEREDOC_PIPESIZE deterministically
We had reproducibility issues where the pipe size appears to vary on some build hosts between 65535 and 4096. It should be the former on Linux in general so standarise on that. Easiest way is to pass in CFLAGS. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/bash/bash.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc
index 17d9560475..bc737acd63 100644
--- a/meta/recipes-extended/bash/bash.inc
+++ b/meta/recipes-extended/bash/bash.inc
@@ -14,6 +14,9 @@ EXTRA_OECONF = "--enable-job-control --without-bash-malloc bash_cv_wexitstatus_o
# This is what other major distros do. And this is what we wanted. See bug#5359 and bug#7137.
CFLAGS += "-DNON_INTERACTIVE_LOGIN_SHELLS"
+# This can vary depending upon the host
+CFLAGS += "-DHEREDOC_PIPESIZE=65536"
+
ALTERNATIVE_${PN} = "bash sh"
ALTERNATIVE_LINK_NAME[bash] = "${base_bindir}/bash"
ALTERNATIVE_TARGET[bash] = "${base_bindir}/bash"