Skip to contentSkip to conversation

valkey: remove TMPDIR truncation in binaries

PATCH New Gyorgy Sarvari 1 participant 1 message Feb 12

lore
Share & tools
lore
#0 lore raw

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

---
 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
index 7b4226d2af..419efab17c 100644
@@ -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"