]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
github/workflows: Replace deprecated apt-get --force-yes
authorNorbert Pocs <norbertp@openssl.org>
Thu, 4 Sep 2025 08:02:55 +0000 (10:02 +0200)
committerTomas Mraz <tomas@openssl.org>
Tue, 9 Sep 2025 09:22:18 +0000 (11:22 +0200)
It is replaced by a few flags starting with '--allow-'. Currently:
--allow-unauthenticated
--allow-downgrades
--allow-remove-essential
--allow-change-held-packages

Signed-off-by: Norbert Pocs <norbertp@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/28435)

.github/workflows/ci.yml
.github/workflows/cross-compiles.yml
.github/workflows/fips-checksums.yml
.github/workflows/fuzz-checker.yml
.github/workflows/riscv-more-cross-compiles.yml
.github/workflows/run-checker-daily.yml

index f0dfe270744ba81cb68999f2f3d153f56ccaa4a2..3b3ca497bba8b18f8edab31c2d09ebe601a2c8a8 100644 (file)
@@ -31,7 +31,7 @@ jobs:
     - name: install unifdef
       run: |
         sudo apt-get update
-        sudo apt-get -yq --no-install-suggests --no-install-recommends --force-yes install unifdef
+        sudo apt-get -yq --no-install-suggests --no-install-recommends --allow-unauthenticated --allow-downgrades --allow-remove-essential --allow-change-held-packages install unifdef
     - uses: actions/checkout@v4
       with:
         fetch-depth: 0
index c6b758ec931049553b9f657e69a834a44c052165..92f45dc01c116b55ac1ee75ebca4193791f2ede6 100644 (file)
@@ -165,7 +165,7 @@ jobs:
     - name: install packages
       run: |
         sudo apt-get update
-        sudo apt-get -yq --force-yes install \
+        sudo apt-get -yq --allow-unauthenticated --allow-downgrades --allow-remove-essential --allow-change-held-packages install \
             gcc-${{ matrix.platform.arch }} \
             ${{ matrix.platform.libs }}
     - uses: actions/checkout@v4
@@ -192,7 +192,7 @@ jobs:
 
     - name: install qemu
       if: matrix.platform.tests != 'none'
-      run: sudo apt-get -yq --force-yes install qemu-user
+      run: sudo apt-get -yq --allow-unauthenticated --allow-downgrades --allow-remove-essential --allow-change-held-packages install qemu-user
 
     - name: Set QEMU environment
       if: matrix.platform.qemucpu != ''
index d286d78cb9fdf76adab317c2e4b1873d4c1fa496..be2b6c7672786ad2ce7cefc7dd3e3091d37fcdf7 100644 (file)
@@ -18,7 +18,7 @@ jobs:
       - name: install unifdef
         run: |
             sudo apt-get update
-            sudo apt-get -yq --no-install-suggests --no-install-recommends --force-yes install unifdef
+            sudo apt-get -yq --no-install-suggests --no-install-recommends --allow-unauthenticated --allow-downgrades --allow-remove-essential --allow-change-held-packages install unifdef
       - name: create build dirs
         run: |
           mkdir ./build-pristine
index b7e3cf51eed6f3af7e529cb16cb584c051480ca7..7648785d5e222742dfeefc8f91531956f81464af 100644 (file)
@@ -47,7 +47,7 @@ jobs:
     - name: install packages
       run: |
         sudo apt-get update
-        sudo apt-get -yq --force-yes install ${{ matrix.fuzzy.install }}
+        sudo apt-get -yq --allow-unauthenticated --allow-downgrades --allow-remove-essential --allow-change-held-packages install ${{ matrix.fuzzy.install }}
     - name: Adjust ASLR for sanitizer
       run: |
         sudo cat /proc/sys/vm/mmap_rnd_bits
index 3012e85854dd7477d47de9121d427273d877a3bb..09049ae93562e4cfe817e621ceeba2917af36e22 100644 (file)
@@ -191,7 +191,7 @@ jobs:
     - name: install packages
       run: |
         sudo apt-get update
-        sudo apt-get -yq --force-yes install \
+        sudo apt-get -yq --allow-unauthenticated --allow-downgrades --allow-remove-essential --allow-change-held-packages install \
             gcc-${{ matrix.platform.arch }} \
             ${{ matrix.platform.libs }}
     - uses: actions/checkout@v4
@@ -218,7 +218,7 @@ jobs:
 
     - name: install qemu
       if: matrix.platform.tests != 'none'
-      run: sudo apt-get -yq --force-yes install qemu-user
+      run: sudo apt-get -yq --allow-unauthenticated --allow-downgrades --allow-remove-essential --allow-change-held-packages install qemu-user
 
     - name: Set QEMU environment
       if: matrix.platform.qemucpu != ''
index bef1e8aacfe27658837e69aad32c63f9a2c2d53a..fa7ff696832d1a05c481f8108ef938c376186601 100644 (file)
@@ -197,7 +197,7 @@ jobs:
     - name: install brotli
       run: |
         sudo apt-get update
-        sudo apt-get -yq --no-install-suggests --no-install-recommends --force-yes install brotli libbrotli1 libbrotli-dev
+        sudo apt-get -yq --no-install-suggests --no-install-recommends --allow-unauthenticated --allow-downgrades --allow-remove-essential --allow-change-held-packages install brotli libbrotli1 libbrotli-dev
     - name: checkout openssl
       uses: actions/checkout@v4
     - name: checkout fuzz/corpora submodule
@@ -219,7 +219,7 @@ jobs:
     - name: install zstd
       run: |
         sudo apt-get update
-        sudo apt-get -yq --no-install-suggests --no-install-recommends --force-yes install zstd libzstd1 libzstd-dev
+        sudo apt-get -yq --no-install-suggests --no-install-recommends --allow-unauthenticated --allow-downgrades --allow-remove-essential --allow-change-held-packages install zstd libzstd1 libzstd-dev
     - name: checkout openssl
       uses: actions/checkout@v4
     - name: checkout fuzz/corpora submodule
@@ -241,8 +241,8 @@ jobs:
     - name: install brotli and zstd
       run: |
         sudo apt-get update
-        sudo apt-get -yq --no-install-suggests --no-install-recommends --force-yes install brotli libbrotli1 libbrotli-dev
-        sudo apt-get -yq --no-install-suggests --no-install-recommends --force-yes install zstd libzstd1 libzstd-dev
+        sudo apt-get -yq --no-install-suggests --no-install-recommends --allow-unauthenticated --allow-downgrades --allow-remove-essential --allow-change-held-packages install brotli libbrotli1 libbrotli-dev
+        sudo apt-get -yq --no-install-suggests --no-install-recommends --allow-unauthenticated --allow-downgrades --allow-remove-essential --allow-change-held-packages install zstd libzstd1 libzstd-dev
     - name: checkout openssl
       uses: actions/checkout@v4
     - name: checkout fuzz/corpora submodule
@@ -286,7 +286,7 @@ jobs:
     - name: install brotli
       run: |
         sudo apt-get update
-        sudo apt-get -yq --no-install-suggests --no-install-recommends --force-yes install brotli libbrotli1 libbrotli-dev
+        sudo apt-get -yq --no-install-suggests --no-install-recommends --allow-unauthenticated --allow-downgrades --allow-remove-essential --allow-change-held-packages install brotli libbrotli1 libbrotli-dev
     - name: checkout openssl
       uses: actions/checkout@v4
     - name: checkout fuzz/corpora submodule
@@ -312,7 +312,7 @@ jobs:
     - name: install zstd
       run: |
         sudo apt-get update
-        sudo apt-get -yq --no-install-suggests --no-install-recommends --force-yes install zstd libzstd1 libzstd-dev
+        sudo apt-get -yq --no-install-suggests --no-install-recommends --allow-unauthenticated --allow-downgrades --allow-remove-essential --allow-change-held-packages install zstd libzstd1 libzstd-dev
     - name: checkout openssl
       uses: actions/checkout@v4
     - name: checkout fuzz/corpora submodule