[openssh-commits] [openssh] 02/04: Always intall moduli.

git+noreply at mindrot.org git+noreply at mindrot.org
Thu Feb 18 10:11:06 AEDT 2021


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 1c293868e4b4e8e74e3ea15b8dff90f6b089967a
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Thu Feb 18 10:05:03 2021 +1100

    Always intall moduli.
    
    Allows us to run tests without falling back to a fixed modulus.  Ensure that
    the directory exists.
---
 .github/workflows/c-cpp.yml      | 4 ++--
 .github/workflows/selfhosted.yml | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index ca47ff6e..7f276e5d 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -38,8 +38,8 @@ jobs:
       run: ./.github/configure.sh ${{ matrix.configs }}
     - name: make
       run: make -j2
-    - name: copy moduli
-      run: sudo cp moduli /usr/local/etc/
+    - name: install moduli
+      run: sudo sh -c "mkdir -p /usr/local/etc/; cp moduli /usr/local/etc/"
     - name: make tests
       run: ./.github/run_test.sh ${{ matrix.configs }}
       env:
diff --git a/.github/workflows/selfhosted.yml b/.github/workflows/selfhosted.yml
index 637ce959..2f76dfdf 100644
--- a/.github/workflows/selfhosted.yml
+++ b/.github/workflows/selfhosted.yml
@@ -49,6 +49,8 @@ jobs:
           config.log
     - name: make
       run: vmrun make
+    - name: install moduli
+      run: sudo sh -c "mkdir -p /usr/local/etc/; cp moduli /usr/local/etc/"
     - name: make tests
       run: vmrun ./.github/run_test.sh ${{ matrix.configs }}
     - name: save regress logs

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list