mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
fix: Conditionally fix llvm-project#153385
This commit is contained in:
@@ -32,9 +32,14 @@ jobs:
|
|||||||
echo "Debian distribution: $DISTRIBUTION ($VERSION)"
|
echo "Debian distribution: $DISTRIBUTION ($VERSION)"
|
||||||
- name: Work around llvm-project#153385
|
- name: Work around llvm-project#153385
|
||||||
run: |
|
run: |
|
||||||
|
if [ -f /usr/share/apt/default-sequoia.config ]; then
|
||||||
|
echo "Applying workaround for llvm-project#153385"
|
||||||
mkdir -p /etc/crypto-policies/back-ends/
|
mkdir -p /etc/crypto-policies/back-ends/
|
||||||
cp /usr/share/apt/default-sequoia.config /etc/crypto-policies/back-ends/apt-sequoia.config
|
cp /usr/share/apt/default-sequoia.config /etc/crypto-policies/back-ends/apt-sequoia.config
|
||||||
sed -i 's/\(sha1\.second_preimage_resistance = \)2026-02-01/\12026-06-01/' /etc/crypto-policies/back-ends/apt-sequoia.config
|
sed -i 's/\(sha1\.second_preimage_resistance = \)2026-02-01/\12026-06-01/' /etc/crypto-policies/back-ends/apt-sequoia.config
|
||||||
|
else
|
||||||
|
echo "No workaround needed for llvm-project#153385"
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Checkout repository with full history
|
- name: Checkout repository with full history
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
|||||||
Reference in New Issue
Block a user