Skip to content

Commit cca4b1f

Browse files
committed
sdk-installer: configure the MSYS2 runtime correctly
... even before git-extra was installed. This trick is performed simply by bundling the /etc/nsswitch.conf file that tells MSYS2's runtime e.g. to use the fast route to determining the home directory. This makes a huge difference, say, when running on a domain-joined machine that temporarily cannot reach its domain controller. A >60 second kind of difference. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 3455521 commit cca4b1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sdk-installer/release.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ dlls_for_exes () {
7070
echo "$dlls"
7171
}
7272

73-
fileList="etc/pacman.conf \
73+
fileList="etc/nsswitch.conf \
74+
etc/pacman.conf \
7475
etc/pacman.d \
7576
usr/bin/pacman.exe \
7677
usr/bin/curl.exe \

0 commit comments

Comments
 (0)