summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-12 12:51:51 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-29 11:17:26 +0100
commit43cfa130d9e72cec421dd1530858926b7445752d (patch)
treef4ba866cd8ef31b1aa82e148391cf44019bc3ac1 /meta
parent7ff34cf0418c6fee43f4d8a0a5d3c5bb93b945bf (diff)
downloadpoky-43cfa130d9e72cec421dd1530858926b7445752d.tar.gz
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. (From OE-Core rev: 6ca6c9c12c93c6df7b18f49ebdbfb69433ff5158) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1189f95e05c80286e009e1ab46a603ee5b7ca239) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb b/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb
index 974faa3b3f..c24613b74e 100644
--- a/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb
+++ b/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb
@@ -99,6 +99,10 @@ SRC_URI = "git://github.com/xrmx/bootchart.git \
99S = "${WORKDIR}/git" 99S = "${WORKDIR}/git"
100SRCREV = "868a2afab9da34f32c007d773b77253c93104636" 100SRCREV = "868a2afab9da34f32c007d773b77253c93104636"
101 101
102# remove at next version upgrade or when output changes
103PR = "r1"
104HASHEQUIV_HASH_VERSION .= ".1"
105
102inherit systemd update-rc.d python3native update-alternatives 106inherit systemd update-rc.d python3native update-alternatives
103 107
104ALTERNATIVE:${PN} = "bootchartd" 108ALTERNATIVE:${PN} = "bootchartd"
@@ -131,7 +135,7 @@ do_install () {
131 export PKGLIBDIR="${base_libdir}/bootchart" 135 export PKGLIBDIR="${base_libdir}/bootchart"
132 export SYSTEMD_UNIT_DIR="${systemd_system_unitdir}" 136 export SYSTEMD_UNIT_DIR="${systemd_system_unitdir}"
133 137
134 oe_runmake install 138 oe_runmake install NO_PYTHON_COMPILE=1
135 install -d ${D}${sysconfdir}/init.d 139 install -d ${D}${sysconfdir}/init.d
136 install -m 0755 ${WORKDIR}/bootchartd_stop.sh ${D}${sysconfdir}/init.d 140 install -m 0755 ${WORKDIR}/bootchartd_stop.sh ${D}${sysconfdir}/init.d
137 141