Skip to content

Commit da864b3

Browse files
committed
add workaround for issue #36
1 parent 8795868 commit da864b3

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.devcontainer/debian/13-trixie/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,9 @@ RUN echo "DOXYGEN" && \
361361

362362
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
363363
RUN echo "LLVM" && \
364+
# Temporary workaround for https://github.com/llvm/llvm-project/issues/153385
365+
sed -i 's/\(sha1\.second_preimage_resistance =\).*/\1 2027-01-01/' /usr/share/apt/default-sequoia.config && \
366+
# --
364367
curl -s https://apt.llvm.org/llvm-snapshot.gpg.key | tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc && \
365368
echo "deb http://apt.llvm.org/trixie/ llvm-toolchain-trixie-$LLVM_VERSION main" >> /etc/apt/sources.list.d/llvm.list && \
366369
apt-get update && apt-get install --no-install-recommends --assume-yes \

.devcontainer/debian/14-forky/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,9 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
364364
RUN echo "LLVM" && \
365365
if [ "$DEBIAN_VERSION_NAME" == "forky" ]; then DEBIAN_VERSION_NAME="unstable"; fi && \
366366
if [ "$DEBIAN_VERSION_NAME" == "unstable" ]; then LINKNAME=""; else LINKNAME="-$DEBIAN_VERSION_NAME"; fi && \
367+
# Temporary workaround for https://github.com/llvm/llvm-project/issues/153385
368+
sed -i 's/\(sha1\.second_preimage_resistance =\).*/\1 2027-01-01/' /usr/share/apt/default-sequoia.config && \
369+
# --
367370
curl -s https://apt.llvm.org/llvm-snapshot.gpg.key | tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc && \
368371
echo "deb http://apt.llvm.org/$DEBIAN_VERSION_NAME/ llvm-toolchain$LINKNAME-$LLVM_VERSION main" >> /etc/apt/sources.list.d/llvm.list && \
369372
echo "deb http://httpredir.debian.org/debian sid main" >> /etc/apt/sources.list.d/sid.list && \

.devcontainer/debian/sid-unstable/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,9 @@ RUN echo "DOXYGEN" && \
361361

362362
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
363363
RUN echo "LLVM" && \
364+
# Temporary workaround for https://github.com/llvm/llvm-project/issues/153385
365+
sed -i 's/\(sha1\.second_preimage_resistance =\).*/\1 2027-01-01/' /usr/share/apt/default-sequoia.config && \
366+
# --
364367
curl -s https://apt.llvm.org/llvm-snapshot.gpg.key | tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc && \
365368
echo "deb http://apt.llvm.org/unstable/ llvm-toolchain-$LLVM_VERSION main" >> /etc/apt/sources.list.d/llvm.list && \
366369
echo "deb http://httpredir.debian.org/debian sid main" >> /etc/apt/sources.list.d/sid.list && \

0 commit comments

Comments
 (0)