]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
package_rpm.bbclass: disable generation of .build-id links
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Mon, 24 Jul 2017 15:27:03 +0000 (18:27 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Jul 2017 14:57:25 +0000 (15:57 +0100)
As we're not using them and they're getting in the way of
reproducibility.

[YOCTO #11718]

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_rpm.bbclass

index dc241975c3bfd7e86842b91ca42d54d6f6ab96f6..5562074ae4e380952edb957d01a7cd0972c53627 100644 (file)
@@ -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: