Fix scouting deploy after rules_pkg upgrade
The behaviour of `pkg_tar`'s `symlinks` attribute changed when I
upgraded rules_pkg in Iec2c0dcf27f76f83ab337da97a6caf0e182e706b.
The `package_dir` is now prefixed to the symlinks. That means we can
drop the prefix from the `symlinks` attribute.
Signed-off-by: Philipp Schrader <philipp.schrader@gmail.com>
Change-Id: I39c850ef677fdd1de365bebfb483435303596167
diff --git a/scouting/deploy/BUILD b/scouting/deploy/BUILD
index eb8b537..c8f68c4 100644
--- a/scouting/deploy/BUILD
+++ b/scouting/deploy/BUILD
@@ -23,8 +23,8 @@
# So we work around it by manually adding some symlinks that let us pretend
# that we're at the root of the runfiles tree.
symlinks = {
- "opt/frc971/scouting_server/org_frc971": ".",
- "opt/frc971/scouting_server/bazel_tools": "external/bazel_tools",
+ "org_frc971": ".",
+ "bazel_tools": "external/bazel_tools",
},
)