]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Put privsep dir on OS X on /usr/local.
authorDarren Tucker <dtucker@dtucker.net>
Tue, 6 Feb 2024 05:21:05 +0000 (16:21 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Tue, 6 Feb 2024 05:37:07 +0000 (16:37 +1100)
On some runners we can't create /var/empty, so put it some place we can
write.  Should fix test breakage on Max OS X 11.

.github/configs

index 1b1e7aacc4007cdc2e65f2f783e8ad8b4a3f32de..963e877199123dbef44bee8fd73e01354107f5ae 100755 (executable)
@@ -322,6 +322,10 @@ case "$host" in
        # modern versions don't ship with libcrypto.
        LIBCRYPTOFLAGS="--without-openssl"
        TEST_TARGET=t-exec
+
+       # On some OS X runners we can't write to /var/empty.
+       CONFIGFLAGS="${CONFIGFLAGS} --with-privsep-path=/usr/local/empty"
+
        case "$host" in
        *-darwin22.*)
                # sudo -S nobody doesn't work on macos 13 for some reason.