Commit b088ce44 authored by Guido Gunther's avatar Guido Gunther
Browse files

Hack around borken SDL and lack of osk-sdl

Install local packages until osk-sdl is in byzantium
and libsdl2 is fixed.
parent 32b2305d
Pipeline #63478 passed with stage
in 10 seconds
......@@ -29,7 +29,6 @@ target_qemu="${basedir}/${qemu}"
stamp="${basedir}/var/log/gitrev.log"
ci_repo="${distro}ci"
ci_component=main
luks_pkgs=(osk-sdl cryptsetup-initramfs)
for env_var in distro pureos_board packages; do
if [ -z "${!env_var}" ]; then
......@@ -89,7 +88,12 @@ exit 0
EOF
chmod a+x "$CRYPTROOT"
chroot "${basedir}" apt install -y "${luks_pkgs[@]}"
chroot "${basedir}" apt install -y cryptsetup-initramfs
# FIXME: this will be pullled in via osk-sdl once in the archive
chroot "${basedir}" apt-get -y install libsdl2-ttf-2.0-0 fonts-dejavu-core libgl1-mesa-dri libgles2 libgl1 libegl1 libevdev2
cp osk-sdl*deb libsdl2*deb "${basedir}/"
# Add working libsdl2 - the one in bullseye is currently broken
chroot "${basedir}" dpkg -i osk-sdl*deb libsdl2*.deb
# Hack up cryttab until askpass supports it
sed -i 's%discard%discard,keyscript=/usr/share/initramfs-tools/scripts/osk-sdl-keyscript%' "${basedir}/etc/crypttab"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment