forked from RPi-Distro/pi-gen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Java 8 segfaults during install. Installing OpenJDK 11 first prevents Java 8 from running.
- Loading branch information
Showing
2 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.