[oe-commits] [meta-openembedded] 29/44: zsh: fix base_bindir installation

git at git.openembedded.org git at git.openembedded.org
Sun Feb 11 20:07:27 UTC 2018


This is an automated email from the git hooks/post-receive script.

armin_kuster pushed a commit to branch master-next
in repository meta-openembedded.

commit f75e11225f5f424abfb672d09728c60c61cd801f
Author: Martin Jansa <martin.jansa at gmail.com>
AuthorDate: Thu Feb 1 14:23:39 2018 +0000

    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 at gmail.com>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta-oe/recipes-extended/zsh/zsh_5.3.1.bb | 3 +++
 1 file changed, 3 insertions(+)

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 1f5e390..96d21a8 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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list