All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 1/2] zsh: fix base_bindir installation
@ 2018-02-01 14:23 Martin Jansa
  2018-02-01 14:23 ` [meta-oe][PATCH 2/2] samba, openwsman, pam-ssh-agent-auth, sblim-sfcb, passwdqc, python-pam, smbnetfs: require pam in DISTRO_FEATURES Martin Jansa
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2018-02-01 14:23 UTC (permalink / raw)
  To: openembedded-devel

* 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>
---
 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 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"
-- 
2.15.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-02-02  7:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-01 14:23 [meta-oe][PATCH 1/2] zsh: fix base_bindir installation Martin Jansa
2018-02-01 14:23 ` [meta-oe][PATCH 2/2] samba, openwsman, pam-ssh-agent-auth, sblim-sfcb, passwdqc, python-pam, smbnetfs: require pam in DISTRO_FEATURES Martin Jansa
2018-02-01 15:57   ` Andreas Oberritter
2018-02-01 16:07     ` Martin Jansa
2018-02-02  7:46       ` Andreas Oberritter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.