clic-rpi-image/stage5/00-install-extras/00-run.sh
Serge Schneider 3682a747bd Java 8 workaround
Java 8 segfaults during install.
Installing OpenJDK 11 first prevents Java 8 from running.
2019-06-07 19:51:08 +01:00

8 lines
271 B
Bash
Executable file

#!/bin/bash -e
on_chroot << EOF
apt-get install openjdk-11-jre-headless -y --no-install-recommends
#update-binfmts --package openjdk-11 --remove jar /usr/bin/jexec
apt-get purge openjdk-11-jre-headless openjdk-8-jre-headless+ -y
apt-mark auto openjdk-8-jre-headless
EOF