[openssh-commits] [openssh] 01/03: OmniOS: check for gcc before installing.

git+noreply at mindrot.org git+noreply at mindrot.org
Tue May 12 19:59:13 AEST 2026


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

dtucker pushed a commit to branch master
in repository openssh.

commit 99f1e0c2f91f00e0bb3c4a814ec448fda2b0e144
Author: Darren Tucker <dtucker at dtucker.net>
AuthorDate: Tue May 12 18:50:20 2026 +1000

    OmniOS: check for gcc before installing.
---
 .github/workflows/vm.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/vm.yml b/.github/workflows/vm.yml
index 4f659dba1..8aa7b74ec 100644
--- a/.github/workflows/vm.yml
+++ b/.github/workflows/vm.yml
@@ -246,8 +246,10 @@ jobs:
         usesh: true
         prepare: |
           set -x
-          pfexec pkg refresh
-          pfexec pkg install build-essential
+          if [ ! -x $(which gcc 2>/dev/null) ]; then
+            pfexec pkg refresh
+            pfexec pkg install build-essential
+          fi
           useradd -m builder
           sed -e "s/^root.*ALL$/root ALL=(ALL) NOPASSWD: ALL/" /etc/sudoers >>/tmp/sudoers
           mv /tmp/sudoers /etc/sudoers

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


More information about the openssh-commits mailing list