From: Alexander Kanavin Date: Thu, 3 Dec 2020 13:37:24 +0000 (+0100) Subject: serf: do not install the static library X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~9424 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e44275f4d286f005b2f19e3dcc9c6d390b98f30;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git serf: do not install the static library scons is using host ar to create it, which may or may not be built with reproducible option by default. Rather than patch scons for the benefit of a single recipe, let's just not install the .a, which is unused anyway. Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/serf/serf_1.3.9.bb b/meta/recipes-support/serf/serf_1.3.9.bb index 6a27f121023..2fbf96f9973 100644 --- a/meta/recipes-support/serf/serf_1.3.9.bb +++ b/meta/recipes-support/serf/serf_1.3.9.bb @@ -30,4 +30,9 @@ EXTRA_OESCONS = " \ OPENSSL="${STAGING_EXECPREFIXDIR}" \ " +# scons creates non-reproducible archives +do_install_append() { + rm ${D}/${libdir}/*.a +} + BBCLASSEXTEND = "native nativesdk"