mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH 1/6] python: install python2 symlink
Date: Thu, 11 Feb 2016 12:26:25 +0100	[thread overview]
Message-ID: <20160211112625.GJ32288@pengutronix.de> (raw)
In-Reply-To: <1454002028-12486-1-git-send-email-l.stach@pengutronix.de>

On Thu, Jan 28, 2016 at 06:27:03PM +0100, Lucas Stach wrote:
> 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>

Thanks, applied.

Michael

> ---
>  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.7.0.rc3
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

      parent reply	other threads:[~2016-02-11 11:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-28 17:27 Lucas Stach
2016-01-28 17:27 ` [ptxdist] [PATCH 2/6] host-python-six: new package Lucas Stach
2016-01-28 17:27 ` [ptxdist] [PATCH 3/6] host-python-numpy: " Lucas Stach
2016-01-28 17:27 ` [ptxdist] [PATCH 4/6] python-mako: " Lucas Stach
2016-01-28 17:27 ` [ptxdist] [PATCH 5/6] waffle: " Lucas Stach
2016-02-01 14:39   ` Michael Olbrich
2016-01-28 17:27 ` [ptxdist] [PATCH 6/6] piglit: " Lucas Stach
2016-02-01 14:43   ` Michael Olbrich
2016-02-11 11:26 ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160211112625.GJ32288@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox