Skip to contentSkip to conversation

package/refpolicy: set python path

PATCH New Fabrice Fontaine 2 participants 2 messages Apr 20, 2019 – Apr 21, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/refpolicy: set python path

Set python path to $(HOST_DIR)/usr/bin/python to avoid build failures if python3 found on host is broken

Fixes:
- http://autobuild.buildroot.org/results/1f878405593dd05bb00fe0b06ca1c64ffbe6c572

---
 package/refpolicy/refpolicy.mk | 1 +
 1 file changed, 1 insertion(+)
package/refpolicy/refpolicy.mk +1 -0
index 78c17bad01..1c3b1bc541 100644
@@ -26,6 +26,7 @@ endif
 
 # Cannot use multiple threads to build the reference policy
 REFPOLICY_MAKE = \
+	PYTHON=$(HOST_DIR)/usr/bin/python \
 	TEST_TOOLCHAIN=$(HOST_DIR) \
 	$(TARGET_MAKE_ENV) \
 	$(MAKE1)
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/refpolicy: set python path

Quoted 10 lines · On Sat, 20 Apr 2019 16:55:33 +0200 Fabrice Fontaine…

Set python path to $(HOST_DIR)/usr/bin/python to avoid build failures if python3 found on host is broken

Fixes:
- http://autobuild.buildroot.org/results/1f878405593dd05bb00fe0b06ca1c64ffbe6c572

---
 package/refpolicy/refpolicy.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com