Skip to content

Commit fa97a16

Browse files
committed
Add explanation
1 parent ad4937e commit fa97a16

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/codechecker_script.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@
3232
r"\/sandbox\/processwrapper-sandbox\/\S*\/execroot\/": "/execroot/",
3333
START_PATH + r"\/worker\/build\/[0-9a-fA-F]{16}\/root\/": "",
3434
START_PATH + r"\/[0-9a-fA-F]{32}\/execroot\/": "",
35+
# The path getting into the plist file on a docker img is:
36+
# bazel_codechecker/bazel-out/k8-fastbuild/...
37+
# But on regular other system its:
38+
# /home/.../execroot/bazel_codechecker/bazel-out/k8-fastbuild/...
39+
# This is because normally the runner is not the root user
3540
r"<string>bazel_codechecker\/": "<string>",
3641
}
3742

@@ -290,8 +295,8 @@ def resolve_symlinks():
290295
logging.info("Processed file paths in %d files", files_processed)
291296
def update_file_paths():
292297
""" Fix bazel sandbox paths and resolve symbolic links in generated files to real paths """
293-
fix_bazel_paths()
294-
resolve_symlinks()
298+
#fix_bazel_paths()
299+
#resolve_symlinks()
295300

296301

297302
def parse():

0 commit comments

Comments
 (0)