From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] refpolicy: bump to 2.20170805
Date: Fri, 3 Nov 2017 18:56:19 +0100 [thread overview]
Message-ID: <20171103185619.3de8abde@windsurf> (raw)
In-Reply-To: <20171103125856.16518-1-aduskett@gmail.com>
Hello,
On Fri, 3 Nov 2017 08:58:56 -0400, Adam Duskett wrote:
> +ifeq ($(BR2_PACKAGE_PYTHON3),y)
> +REFPOLICY_DEPENDENCIES += host-python3
> +REFPOLICY_PYTHON="$(HOST_DIR)/bin/python(PYTHON3_VERSION_MAJOR)"
> +else
> +REFPOLICY_DEPENDENCIES += host-python
> +REFPOLICY_PYTHON="$(HOST_DIR)/bin/python(PYTHON_VERSION_MAJOR)"
> +endif
I'm not sure why this is needed. Indeed, if BR2_PACKAGE_PYTHON3=y,
$(HOST_DIR)/bin/python points to python3, and if
BR2_PACKAGE_PYTHON=y, $(HOST_DIR)/bin/python points to python2.
Therefore, you should be able to just use $(HOST_DIR)/bin/python.
Could you try that instead?
Also, please answer Matt's concerns before sending a v2. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-11-03 17:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-03 12:58 [Buildroot] [PATCH 1/1] refpolicy: bump to 2.20170805 Adam Duskett
2017-11-03 13:08 ` Matthew Weber
2017-11-04 19:54 ` Arnout Vandecappelle
2017-11-03 17:56 ` Thomas Petazzoni [this message]
2017-11-05 17:34 ` Adam Duskett
2017-11-06 13:51 ` Matthew Weber
2017-11-06 22:11 ` Arnout Vandecappelle
2017-11-06 22:16 ` Matthew Weber
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=20171103185619.3de8abde@windsurf \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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