
Already in hard-freeze, so we don't have to worry about breaking changes. Significant changes: - LLVM 15 is used instead of 11 or 13 - /dev/shm has to be manually mounted - Debian 12 uses libdrm 2.4.114 - reworked creating of rootfs, from debootstrap to mmdebstrap - split `create-rootfs.sh` into `lava_build.sh`, `setup-rootfs.sh`, and `strip-rootfs.sh` - dropped winehq repository for now (Debian wine is up-to-date enough) - we use wine now, no need to call explicitly call wine64 - bumped libasan from version 6 to 8 Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21977>
25 lines
673 B
Bash
Executable File
25 lines
673 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
export WINEPREFIX="$1"
|
|
export WINEDEBUG="-all"
|
|
|
|
# We don't want crash dialogs
|
|
cat >crashdialog.reg <<EOF
|
|
Windows Registry Editor Version 5.00
|
|
|
|
[HKEY_CURRENT_USER\Software\Wine\WineDbg]
|
|
"ShowCrashDialog"=dword:00000000
|
|
|
|
EOF
|
|
|
|
# Set the wine prefix and disable the crash dialog
|
|
wine regedit crashdialog.reg
|
|
rm crashdialog.reg
|
|
|
|
# An immediate wine command may fail with: "${WINEPREFIX}: Not a
|
|
# valid wine prefix." and that is just spit because of checking
|
|
# the existance of the system.reg file, which fails. Just giving
|
|
# it a bit more of time for it to be created solves the problem
|
|
# ...
|
|
while ! test -f "${WINEPREFIX}/system.reg"; do sleep 1; done
|