valkey: remove TMPDIR truncation in binaries
PATCH 1/1 valkey: remove TMPDIR truncation in binaries
These seds were added to remove reproducibility QA errors about TMPDIR being present in the binaries. The root of the problem was changed LDFLAGS in oe-core, and after adding back these LDFLAGS to this recipe[1], the QA error is also gone - the binaries require no changes due to this.
Also remove the INSANE_SKIP, which was most likely fixed by the same LDFLAGS issue - it doesn't happen anymore.
[1]: https://git.openembedded.org/meta-openembedded/commit/?id=e8981bf43163d2fe90ea28b2952a2443ceaea934
Signed-off-by Gyorgy Sarvari <[email protected]>
--- meta-oe/recipes-extended/valkey/valkey_9.0.2.bb | 7 ------- 1 file changed, 7 deletions(-)
meta-oe/recipes-extended/valkey/valkey_9.0.2.bb +0 -7
@@ -46,11 +46,6 @@ do_compile() { } do_install() { - # Remove debug paths to avoid TMPDIR [buildpaths] errors - sed -i -e 's#${TMPDIR}##g' ${S}/src/valkey-benchmark - sed -i -e 's#${TMPDIR}##g' ${S}/src/valkey-server - sed -i -e 's#${TMPDIR}##g' ${S}/src/valkey-cli - export PREFIX=${D}/${prefix} oe_runmake install install -d ${D}/${sysconfdir}/valkey
@@ -79,5 +74,3 @@ INITSCRIPT_PARAMS = "defaults 87" SYSTEMD_SERVICE:${PN} = "valkey.service" CVE_STATUS[CVE-2022-3734] = "not-applicable-platform: CVE only applies for Windows." - -INSANE_SKIP:${PN} = "already-stripped"