wineboot no-display hack
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-02-20 20:53:28 +01:00
parent 0a490a8e49
commit fff2245e66

View File

@@ -69,12 +69,13 @@ COPY VisualStudioMock/bin/Release/net472/VisualStudioMock.exe /root/.wine/drive_
RUN set -x -e; \ RUN set -x -e; \
export PATH=/opt/wine-stable/bin:$PATH; \ export PATH=/opt/wine-stable/bin:$PATH; \
# Install dotnet # Initialize wine
entrypoint wineboot --init; \ # HACK for Wine 10 bug where the wineboot --init ends with "run_wineboot boot event wait timed out" (https://bugs.mandrivalinux.com.narkive.com/hFZTjKnl/bug-58914-wine-new-wine-hangs-while-creating-initial-configuration-in-wine)
# HACK for Wine 10 bug where the previous ends with "run_wineboot boot event wait timed out" (https://bugs.mandrivalinux.com.narkive.com/hFZTjKnl/bug-58914-wine-new-wine-hangs-while-creating-initial-configuration-in-wine) # DISPLAY= prevents access to the display and allows the init to complete
kill `pgrep rundll32`; \ #entrypoint wineboot --init; \
kill `pgrep control.exe`; \ entrypoint whoami; \
entrypoint wineboot --init; \ DISPLAY= wineboot --init
# Install dotnet
# get latest version and its hash from https://dotnet.microsoft.com/en-us/download/dotnet # get latest version and its hash from https://dotnet.microsoft.com/en-us/download/dotnet
wget -nv https://builds.dotnet.microsoft.com/dotnet/Sdk/9.0.200/dotnet-sdk-9.0.200-win-x86.exe --no-check-certificate -O /tmp/dotnet.exe; \ wget -nv https://builds.dotnet.microsoft.com/dotnet/Sdk/9.0.200/dotnet-sdk-9.0.200-win-x86.exe --no-check-certificate -O /tmp/dotnet.exe; \
echo 3ddeb620fc45c623ade58f179e80cea64b7af5b76b0b4b1f65b766df3c5614ce04809f40614ebeb98dd6b4662dc1c2bed38d1f78eadc489360d54e35b98b9904 /tmp/dotnet.exe > /tmp/chk; \ echo 3ddeb620fc45c623ade58f179e80cea64b7af5b76b0b4b1f65b766df3c5614ce04809f40614ebeb98dd6b4662dc1c2bed38d1f78eadc489360d54e35b98b9904 /tmp/dotnet.exe > /tmp/chk; \