Java 8 workaround
Java 8 segfaults during install. Installing OpenJDK 11 first prevents Java 8 from running.
This commit is contained in:
parent
0b4d95c4a2
commit
3682a747bd
2 changed files with 8 additions and 0 deletions
8
stage5/00-install-extras/00-run.sh
Executable file
8
stage5/00-install-extras/00-run.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/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
|
Loading…
Reference in a new issue