summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2021-02-04 15:38:41 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-06 09:03:00 +0000
commit071f23ad79ac37743d97928f92ded0da61ba9e63 (patch)
tree9029932ba66cf56d5ee052fe44400b2251f071a3 /meta/recipes-extended
parente6be41a2045d81b7553230472282aff9900f9f15 (diff)
downloadpoky-071f23ad79ac37743d97928f92ded0da61ba9e63.tar.gz
bash: Disable bracketed input by default
Bash 5.1 enabled bracketed input mode by default, but this causes a lot of problems with automated testing as it can inject a lot of control sequences into non-interactive output. Disable it to cleanup the output an preserve the pre-5.1 behavior (From OE-Core rev: 6c1cb7e274050f1ccb817b8ee34d0f61f34c95e3) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/bash/bash.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc
index bc737acd63..db326660ea 100644
--- a/meta/recipes-extended/bash/bash.inc
+++ b/meta/recipes-extended/bash/bash.inc
@@ -17,6 +17,10 @@ CFLAGS += "-DNON_INTERACTIVE_LOGIN_SHELLS"
17# This can vary depending upon the host 17# This can vary depending upon the host
18CFLAGS += "-DHEREDOC_PIPESIZE=65536" 18CFLAGS += "-DHEREDOC_PIPESIZE=65536"
19 19
20# Disable bracketed paste mode by default (enabled by default in bash 5.1). It
21# causes a lot of garbage in non-interactive shells
22CFLAGS += "-DBRACKETED_PASTE_DEFAULT=0"
23
20ALTERNATIVE_${PN} = "bash sh" 24ALTERNATIVE_${PN} = "bash sh"
21ALTERNATIVE_LINK_NAME[bash] = "${base_bindir}/bash" 25ALTERNATIVE_LINK_NAME[bash] = "${base_bindir}/bash"
22ALTERNATIVE_TARGET[bash] = "${base_bindir}/bash" 26ALTERNATIVE_TARGET[bash] = "${base_bindir}/bash"