1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
Description: Fix non-reproducible generation of the install_base_key file
The checksum does not properly include these files. This will hopefully be
fixed in future versions of Bazel.
Author: Olek Wojnar <olek@debian.org>
Forwarded: not-needed
Last-Update: 2023-03-13
--- a/src/BUILD
+++ b/src/BUILD
@@ -12,17 +12,14 @@
name = "install_base_key-file" + suffix,
srcs = [
"//src/main/java/com/google/devtools/build/lib/bazel:BazelServer_deploy.jar",
- "//src/main/starlark/builtins_bzl:builtins_bzl.zip",
"//src/main/java/net/starlark/java/eval:cpu_profiler",
# TODO(brandjon): ensure we haven't forgotten any package-zip items,
# otherwise bazel won't correctly reextract modified files.
- ":platforms_archive",
"//src/main/cpp:client",
"//src/main/tools:build-runfiles",
"//src/main/tools:process-wrapper",
"//src/main/tools:linux-sandbox",
- "//tools/osx:xcode-locator",
- ] + embedded_tools_target,
+ ],
outs = ["install_base_key" + suffix],
cmd = select({
"//src/conditions:darwin": md5_cmd % ("/sbin/md5", "/sbin/md5", "head -c 32"),
|