diff options
| author | Space Meyer <spm@google.com> | 2023-03-21 16:47:18 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2023-03-21 17:33:56 +0100 |
| commit | 8b4eb097b2e5a6f78a8d0b1ae48de4bbaa4c45a1 (patch) | |
| tree | 6ea0ae0e5a01d4d7f639be1688aaca640090e4e3 /tools | |
| parent | 03fb95387494de5b57bd8487026a556d24044179 (diff) | |
tools/docker: use pahole v1.22 from backports
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/docker/syzbot/Dockerfile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/docker/syzbot/Dockerfile b/tools/docker/syzbot/Dockerfile index 4c959c059..04b13ae3b 100644 --- a/tools/docker/syzbot/Dockerfile +++ b/tools/docker/syzbot/Dockerfile @@ -55,6 +55,12 @@ RUN mkdir -p /usr/grte/v5/bin && ln -s /usr/bin/python3 /usr/grte/v5/bin/python2 # Download the official bazel binary. The APT repository isn't used because there is not packages for arm64. RUN sh -c 'curl -o /usr/local/bin/bazel https://releases.bazel.build/5.3.2/release/bazel-5.3.2-linux-$(uname -m | sed s/aarch64/arm64/) && chmod ugo+x /usr/local/bin/bazel' +# Update pahole from 1.20 to 1.22 to avoid this build error seen on 5.10 based kernels: +# [43990] INT DW_ATE_unsigned_24 Error emitting BTF type +RUN echo 'deb http://deb.debian.org/debian bullseye-backports main' >> /etc/apt/sources.list +RUN apt update +RUN apt install -y -q dwarves/bullseye-backports + # pkg/osutil uses syzkaller user for sandboxing. RUN useradd --create-home syzkaller RUN echo "export PS1='\n\W🤖 '" >> /root/.bashrc |
