Skip to contentSkip to conversation

package_rpm.bbclass: disable generation of .build-id links

PATCH New Alexander Kanavin 1 participant 1 message Jul 24, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package_rpm.bbclass: disable generation of .build-id links

As we're not using them and they're getting in the way of reproducibility.

[YOCTO #11718]

---
 meta/classes/package_rpm.bbclass | 1 +
 1 file changed, 1 insertion(+)
meta/classes/package_rpm.bbclass +1 -0
index dc241975c3b..5562074ae4e 100644
@@ -644,6 +644,7 @@ python do_package_rpm () {
     cmd = cmd + " --define '_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'"
     cmd = cmd + " --define '_use_internal_dependency_generator 0'"
     cmd = cmd + " --define '_binaries_in_noarch_packages_terminate_build 0'"
+    cmd = cmd + " --define '_build_id_links none'"
     cmd = cmd + " --define '_binary_payload w6T.xzdio'"
     cmd = cmd + " --define '_source_payload w6T.xzdio'"
     if perfiledeps:
Signature · 1 line
2.13.2