Skip to contentSkip to conversation

cdrkit: fix reproducibility issue

PATCH New [email protected] 1 participant 1 message Oct 10, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cdrkit: fix reproducibility issue

From: Changqing Li <[email protected]>

Normally CMake uses the build tree for the RPATH when building executables etc on systems that use RPATH. This will make the buildpath included in the binaries and not reproducible, so disable RPATHs.

---
 meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb +3 -1
index 16b15f745e..80b5cd527e 100644
@@ -24,8 +24,10 @@ SRC_URI[sha256sum] = "d1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc7
 inherit cmake
 
 DEPENDS = "libcap file bzip2"
-RDEPENDS:dirsplit = "perl"
 
+EXTRA_OECMAKE = "-DCMAKE_SKIP_BUILD_RPATH=ON"
+
+RDEPENDS:dirsplit = "perl"
 RDEPENDS:${PN}-dev = ""
 
 PACKAGES =+ "dirsplit genisoimage icedax wodim"
Signature · 1 line
2.34.1