mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/4] python: install python2 symlink
@ 2015-06-08 10:05 Lucas Stach
  2015-06-08 10:05 ` [ptxdist] [PATCH 2/4] host-python-six: new package Lucas Stach
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Lucas Stach @ 2015-06-08 10:05 UTC (permalink / raw)
  To: ptxdist

Some programs call python2 in order to explicitly request python2.x.
Allow this by installing a symlink to the the correct binary.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 rules/python.make | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/python.make b/rules/python.make
index 8cc13efcec1a..a99f628f1456 100644
--- a/rules/python.make
+++ b/rules/python.make
@@ -185,6 +185,7 @@ $(STATEDIR)/python.targetinstall:
 	done
 
 	@$(call install_copy, python, 0, 0, 755, -, /usr/bin/python$(PYTHON_MAJORMINOR))
+	@$(call install_link, python, python$(PYTHON_MAJORMINOR), /usr/bin/python2)
 	@$(call install_lib, python, 0, 0, 644, libpython$(PYTHON_MAJORMINOR))
 
 ifdef PTXCONF_PYTHON_SYMLINK
-- 
2.1.4


-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2015-06-08 10:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-08 10:05 [ptxdist] [PATCH 1/4] python: install python2 symlink Lucas Stach
2015-06-08 10:05 ` [ptxdist] [PATCH 2/4] host-python-six: new package Lucas Stach
2015-06-08 10:05 ` [ptxdist] [PATCH 3/4] python-mako: " Lucas Stach
2015-06-08 10:06 ` [ptxdist] [PATCH 4/4] piglit: " Lucas Stach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox