diff options
author | Yifan Hong <elsk@google.com> | 2023-07-20 18:49:08 -0700 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2023-08-15 00:32:57 +0000 |
commit | d1699e68aeca6aa3209810f60b4d3dd3cc2fc7a8 (patch) | |
tree | e7de274625dbbd3187dbc35ed9a9f208c435acaa /build-tools/kleaf_internal_do_not_use_path | |
parent | 0c806c8ed5de4b15f5f49be405055ce2987d916c (diff) | |
download | build-d1699e68aeca6aa3209810f60b4d3dd3cc2fc7a8.tar.gz |
kleaf: hermetic_tools: turn srcs/tar_args to symlinks
Step towards deprecating the srcs attribute. The old
hermetic_tools.srcs now maps to _hermetic_tools.symlinks,
so we centralize the handling of all symlinks.
Bug: 291816237
Change-Id: Ia2432f8b23f57c313400794c8349cf3dad8fb62f
Diffstat (limited to 'build-tools/kleaf_internal_do_not_use_path')
-rwxr-xr-x | build-tools/kleaf_internal_do_not_use_path/linux-x86/tar | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build-tools/kleaf_internal_do_not_use_path/linux-x86/tar b/build-tools/kleaf_internal_do_not_use_path/linux-x86/tar new file mode 100755 index 00000000..46c7d65a --- /dev/null +++ b/build-tools/kleaf_internal_do_not_use_path/linux-x86/tar @@ -0,0 +1,8 @@ +#!/bin/sh + +${0%/*}/kleaf_internal_do_not_use/tar "$@" \ + --mtime=@0 \ + --owner=0 \ + --group=0 \ + --numeric-owner \ + --sort=name |