diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-07 20:52:48 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-20 22:46:17 +0000 |
commit | 0c738cad8e4ef1298e30e445cecc2a87b7dafbd5 (patch) | |
tree | 80d6e6bf71720f0b563ab1cc7b182fbcdf40554c /meta | |
parent | 657bc00c4c8e941afac67a577423e5851cde9966 (diff) | |
download | poky-0c738cad8e4ef1298e30e445cecc2a87b7dafbd5.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.
(From OE-Core rev: 6de2152693c31ee1181e9eacc32b90dd63d4e0a9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/bash/bash.inc | 3 |
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 | |||
14 | # This is what other major distros do. And this is what we wanted. See bug#5359 and bug#7137. | 14 | # This is what other major distros do. And this is what we wanted. See bug#5359 and bug#7137. |
15 | CFLAGS += "-DNON_INTERACTIVE_LOGIN_SHELLS" | 15 | CFLAGS += "-DNON_INTERACTIVE_LOGIN_SHELLS" |
16 | 16 | ||
17 | # This can vary depending upon the host | ||
18 | CFLAGS += "-DHEREDOC_PIPESIZE=65536" | ||
19 | |||
17 | ALTERNATIVE_${PN} = "bash sh" | 20 | ALTERNATIVE_${PN} = "bash sh" |
18 | ALTERNATIVE_LINK_NAME[bash] = "${base_bindir}/bash" | 21 | ALTERNATIVE_LINK_NAME[bash] = "${base_bindir}/bash" |
19 | ALTERNATIVE_TARGET[bash] = "${base_bindir}/bash" | 22 | ALTERNATIVE_TARGET[bash] = "${base_bindir}/bash" |