Skip to contentSkip to conversation

bootchart2: Don't compile python modules

PATCH New Richard Purdie 1 participant 1 message Oct 12, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bootchart2: Don't compile python modules

"make install" may attempt to compile the python modules but it uses the host python and host paths which means the binaries are not reproducbile. Make things consistent. If anyone needs compiling, it will beed to be fixed to be cross compile compatible.

---
 meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb +1 -1
index 974faa3b3f5..f44fd6455e9 100644
@@ -131,7 +131,7 @@ do_install () {
     export PKGLIBDIR="${base_libdir}/bootchart"
     export SYSTEMD_UNIT_DIR="${systemd_system_unitdir}"
 
-    oe_runmake install
+    oe_runmake install NO_PYTHON_COMPILE=1
     install -d ${D}${sysconfdir}/init.d
     install -m 0755 ${WORKDIR}/bootchartd_stop.sh ${D}${sysconfdir}/init.d
 
Signature · 1 line
2.32.0