Skip to content

Commit

Permalink
Put privsep dir on OS X on /usr/local.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
daztucker committed Feb 6, 2024
1 parent be5ed8e commit 91898bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/configs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 91898bf

Please sign in to comment.