diff options
| author | Florent Revest <revest@chromium.org> | 2024-10-02 15:11:17 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-10-14 19:45:32 +0000 |
| commit | b01b66617e506413d4af9a64ffdfd5d2508010d7 (patch) | |
| tree | 599646e29486ff3e8bfa57c3be73518208ce2a5f /tools | |
| parent | 484e362fcff09b8b74162eefd0c3bfd67e829d94 (diff) | |
tools/docker/syzbot: add llvm-strip and llvm-readelf alternatives
Some builds require these tools and update-alternatives lets us use
these tools without hardcoding the LLVM version suffix.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/docker/syzbot/Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/docker/syzbot/Dockerfile b/tools/docker/syzbot/Dockerfile index ebe856ffa..56dcbf641 100644 --- a/tools/docker/syzbot/Dockerfile +++ b/tools/docker/syzbot/Dockerfile @@ -46,6 +46,8 @@ RUN sudo update-alternatives --install /usr/bin/llvm-ar llvm-ar /usr/bin/llvm-ar RUN sudo update-alternatives --install /usr/bin/llvm-objcopy llvm-objcopy /usr/bin/llvm-objcopy-15 100 RUN sudo update-alternatives --install /usr/bin/llvm-objdump llvm-objdump /usr/bin/llvm-objdump-15 100 RUN sudo update-alternatives --install /usr/bin/llvm-addr2line llvm-addr2line /usr/bin/llvm-addr2line-15 100 +RUN sudo update-alternatives --install /usr/bin/llvm-readelf llvm-readelf /usr/bin/llvm-readelf-15 100 +RUN sudo update-alternatives --install /usr/bin/llvm-strip llvm-strip /usr/bin/llvm-strip-15 100 # Not really GRTE, but it's enough to run some scripts that hardcode the path. RUN mkdir -p /usr/grte/v5/bin && ln -s /usr/bin/python3 /usr/grte/v5/bin/python2.7 |
