Skip to content

Commit

Permalink
fix: Rules OCI upgrade breakage
Browse files Browse the repository at this point in the history
Bug: N/A
Change-Id: I2a13ff476d9a115c97861944b482e2aaa6a07741
GitOrigin-RevId: 2259082e6f072ad194f96f1a93f3cd762aff0e9b
  • Loading branch information
Privacy Sandbox Team authored and copybara-github committed Sep 17, 2024
1 parent 146a552 commit d7d7e5f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/roma/byob/benchmark/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -128,18 +128,18 @@ pkg_files(
genrule(
name = "copy_to_dist",
srcs = [
":benchmark_nonroot_image_tarball",
":benchmark_root_image_tarball",
":benchmark_nonroot_debug_image_tarball",
":benchmark_root_debug_image_tarball",
":benchmark_nonroot_image_tarball.tar",
":benchmark_root_image_tarball.tar",
":benchmark_nonroot_debug_image_tarball.tar",
":benchmark_root_debug_image_tarball.tar",
],
outs = ["copy_to_dist.bin"],
cmd_bash = """cat <<EOF >'$@'
mkdir -p {dir}
cp $(execpath :benchmark_nonroot_image_tarball) {dir}/benchmark_nonroot_image.tar
cp $(execpath :benchmark_root_image_tarball) {dir}/benchmark_root_image.tar
cp $(execpath :benchmark_nonroot_debug_image_tarball) {dir}/benchmark_nonroot_debug_image.tar
cp $(execpath :benchmark_root_debug_image_tarball) {dir}/benchmark_root_debug_image.tar
cp $(execpath :benchmark_nonroot_image_tarball.tar) {dir}/benchmark_nonroot_image.tar
cp $(execpath :benchmark_root_image_tarball.tar) {dir}/benchmark_root_image.tar
cp $(execpath :benchmark_nonroot_debug_image_tarball.tar) {dir}/benchmark_nonroot_debug_image.tar
cp $(execpath :benchmark_root_debug_image_tarball.tar) {dir}/benchmark_root_debug_image.tar
builders/tools/normalize-dist
EOF""".format(dir = "dist/roma_byob"),
executable = True,
Expand Down

0 comments on commit d7d7e5f

Please sign in to comment.