From b01b66617e506413d4af9a64ffdfd5d2508010d7 Mon Sep 17 00:00:00 2001 From: Florent Revest Date: Wed, 2 Oct 2024 15:11:17 +0200 Subject: 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. --- tools/docker/syzbot/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/docker/syzbot/Dockerfile') 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 -- cgit mrf-deployment