controller/sysroot: Fix result path usage.
BUG=None
TEST=None
Change-Id: Iec5fbc050c088a6e561a0efb0ad32f528c0a1754
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/2551250
Tested-by: Alex Klein <saklein@chromium.org>
Auto-Submit: Alex Klein <saklein@chromium.org>
Reviewed-by: Michael Mortensen <mmortensen@google.com>
Commit-Queue: Alex Klein <saklein@chromium.org>
diff --git a/api/controller/sysroot.py b/api/controller/sysroot.py
index 9c42614..48b8d16 100644
--- a/api/controller/sysroot.py
+++ b/api/controller/sysroot.py
@@ -9,6 +9,7 @@
import os
+from chromite.api.gen.chromiumos import common_pb2
from chromite.api import controller
from chromite.api import faux
from chromite.api import validate
@@ -71,6 +72,7 @@
# By assigning this Path variable to the tar path, the tar file will be
# copied out to the input_proto's ResultPath location.
output_proto.sysroot_archive.path = sysroot_tar_path
+ output_proto.sysroot_archive.location = common_pb2.Path.INSIDE
return controller.RETURN_CODE_SUCCESS
@@ -94,6 +96,7 @@
# By assigning this Path variable to the tar path, the tar file will be
# copied out to the input_proto's ResultPath location.
output_proto.sysroot_archive.path = sysroot_tar_path
+ output_proto.sysroot_archive.location = common_pb2.Path.INSIDE
def _MockFailedPackagesResponse(_input_proto, output_proto, _config):