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 <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Gyorgy Sarvari
2026-02-12 23:35:36 +01:00
committed by Khem Raj
parent 0332dae9bb
commit 1de433f8bb
@@ -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"