From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Fri, 3 Nov 2017 18:56:19 +0100 Subject: [Buildroot] [PATCH 1/1] refpolicy: bump to 2.20170805 In-Reply-To: <20171103125856.16518-1-aduskett@gmail.com> References: <20171103125856.16518-1-aduskett@gmail.com> Message-ID: <20171103185619.3de8abde@windsurf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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