#!/bin/bash

set -x

true "$0: START"

set -e

## calamares breaks when using libpam-tmpdir
## Therefore unsetting temporary files related environment variables.
## https://github.com/calamares/calamares/issues/2269
## TODO: Debian trixie - This can most likely be removed.
unset TMP
unset TMPDIR
unset TEMP
unset TEMPDIR

export DEBDEBUG=1

## Force use of X11/Xwayland so the keyboard layout settings work.
export QT_QPA_PLATFORM=xcb

calamares -D8

true "$0: END"
