tools/meson: add pending patch to improve binary reproducibility
authorChristian Marangi <[email protected]>
Sun, 12 Oct 2025 12:23:53 +0000 (14:23 +0200)
committerChristian Marangi <[email protected]>
Tue, 14 Oct 2025 15:13:04 +0000 (17:13 +0200)
commit0b116e9d7386b8ec78eed5252b894c4a97341499
treea2f822d61431014d9ad04a0fdde0cce8f20eb230
parent7dd62db9a9006d9f3aa323fffca37ca7e80d590e
tools/meson: add pending patch to improve binary reproducibility

Add 3 pending patch that improve binary reproducibility. The first
address a problem with RPATH string not getting cleared on removal of
RPATH entry from ELF section. The other 2 skip including external shared
library in RPATH in meson build phase.

This follows the logic that on cross-compiling we can't run the binary
anyway as it does target a different arch hence it doesn't make sense to
include those extra path in RPATH causing reproducibility problems (as
path for those external library will depend on the build system path)

Link: https://github.com/openwrt/openwrt/pull/20389
Signed-off-by: Christian Marangi <[email protected]>
tools/meson/patches/100-depfixer-zero-out-rpath-entry-string-on-removing-ent.patch [new file with mode: 0644]
tools/meson/patches/101-01-interpreter-move-can_run_host_binaries-to-environmen.patch [new file with mode: 0644]
tools/meson/patches/101-02-linkers-don-t-include-absolue-RPATH-on-cross-compili.patch [new file with mode: 0644]