aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2018-02-01 14:23:39 +0000
committerArmin Kuster <akuster808@gmail.com>2018-02-11 11:52:32 -0800
commitf75e11225f5f424abfb672d09728c60c61cd801f (patch)
tree2005c8d45b709f96eef7eb13f4c306c9a02dfc7f
parent49ee7840f63f47c61c4a1b410194245921385f91 (diff)
downloadmeta-openembedded-contrib-f75e11225f5f424abfb672d09728c60c61cd801f.tar.gz
meta-openembedded-contrib-f75e11225f5f424abfb672d09728c60c61cd801f.tar.bz2
meta-openembedded-contrib-f75e11225f5f424abfb672d09728c60c61cd801f.zip
zsh: fix base_bindir installation
* fixes: WARNING: zsh-5.3.1-r0 do_package: zsh: NOT adding alternative provide /bin/sh: /bin/zsh does not exist * it was installing zsh into /usr/bin even when log.do_configure confirms correct path: installation basename : zsh binary install path : /bin * no other files were moved: $ find 5.3.1-r0.*/image 5.3.1-r0.new/image 5.3.1-r0.new/image/bin 5.3.1-r0.new/image/bin/zsh-5.3.1 5.3.1-r0.new/image/bin/zsh 5.3.1-r0.new/image/usr 5.3.1-r0.old/image 5.3.1-r0.old/image/usr 5.3.1-r0.old/image/usr/bin 5.3.1-r0.old/image/usr/bin/zsh-5.3.1 5.3.1-r0.old/image/usr/bin/zsh Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-extended/zsh/zsh_5.3.1.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/zsh/zsh_5.3.1.bb b/meta-oe/recipes-extended/zsh/zsh_5.3.1.bb
index 1f5e390000..96d21a8b34 100644
--- a/meta-oe/recipes-extended/zsh/zsh_5.3.1.bb
+++ b/meta-oe/recipes-extended/zsh/zsh_5.3.1.bb
@@ -30,6 +30,9 @@ EXTRA_OECONF = " \
zsh_cv_shared_environ=yes \
"
+# Configure respects --bindir from EXTRA_OECONF, but then Src/Makefile will read bindir from environment
+export bindir="${base_bindir}"
+
EXTRA_OEMAKE = "-e MAKEFLAGS="
ALTERNATIVE_${PN} = "sh"