diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-12-09 17:06:13 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-12 11:27:24 +0000 |
commit | c9351aee3f9b1016c1697178a53664eebebbcf84 (patch) | |
tree | e5c1ed258cc2e2a3e601fcacf196056ea0440609 /meta/recipes-core/glibc/glibc.inc | |
parent | 63f1e59f9f62eb39945aedc62ea01e0c29caea77 (diff) | |
download | poky-c9351aee3f9b1016c1697178a53664eebebbcf84.tar.gz |
glibc: Redo tzselect bash dependency problem
New patch adds a knob to select needed shell interpreter for tzselect
script, which then we excercise via EXTRA_OEMAKE
(From OE-Core rev: 28adfbbcf42d15eabdd7fe3a5dea486bd5049f09)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc/glibc.inc')
-rw-r--r-- | meta/recipes-core/glibc/glibc.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc index 80a3e0b493..fdd241d973 100644 --- a/meta/recipes-core/glibc/glibc.inc +++ b/meta/recipes-core/glibc/glibc.inc | |||
@@ -41,6 +41,10 @@ PARALLEL_MAKE = "" | |||
41 | # ensure make uses /bin/bash | 41 | # ensure make uses /bin/bash |
42 | EXTRA_OEMAKE += "SHELL=/bin/bash" | 42 | EXTRA_OEMAKE += "SHELL=/bin/bash" |
43 | 43 | ||
44 | # We do not need bash to run tzselect script, the default is to use | ||
45 | # bash but it can be configured by setting KSHELL Makefile variable | ||
46 | EXTRA_OEMAKE += "KSHELL=/bin/sh" | ||
47 | |||
44 | do_configure:prepend() { | 48 | do_configure:prepend() { |
45 | sed -e "s#/bin/bash#/bin/sh#" -i ${S}/elf/ldd.bash.in | 49 | sed -e "s#/bin/bash#/bin/sh#" -i ${S}/elf/ldd.bash.in |
46 | } | 50 | } |