Skip to content

Commit

Permalink
Java 8 workaround
Browse files Browse the repository at this point in the history
Java 8 segfaults during install.
Installing OpenJDK 11 first prevents Java 8 from running.
  • Loading branch information
XECDesign committed Jun 7, 2019
1 parent 0b4d95c commit 3682a74
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions stage5/00-install-extras/00-run.sh
Original file line number Diff line number Diff line change
@@ -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
File renamed without changes.

0 comments on commit 3682a74

Please sign in to comment.