Add initial Solaris/Illumos/OpenIndiana support (#697)

* Add initial Solaris/Illumos support

* Fix OpenIndiana kernel panic on boot

The OpenIndiana kernel panics on boot in the AHCI driver. Switching the
machine type from "q35" to "pc" seems to fix the issue.

* Fix Illumos/OpenIndiana USB controller issue.

* Add openindiana support

* Updated quickget with current OpenIndiana release

* Change OpenIndiana video card to vmware-svga

OpenIndiana's default Xorg configuration doesn't work with QXL, virtio,
or VGA, but it does with vmware-svga.

* Updated man pages for OpenIndiana support

* Changed default Solaris/OpenIndiana boot to legacy

The OpenIndiana installer defaults to MBR partition table and BIOS boot
code even in EFI mode, so changed quickget to set 'boot="legacy"' in the
configuration file.

---------

Co-authored-by: Phil Clifford <philip.clifford@gmail.com>
This commit is contained in:
Chase Covello 2023-04-30 03:51:54 -07:00 committed by GitHub
parent 53a4100905
commit 215633947e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 42 additions and 4 deletions

View file

@ -58,6 +58,7 @@ function pretty_name() {
nixos) PRETTY_NAME="NixOS";;
macos) PRETTY_NAME="macOS";;
openbsd) PRETTY_NAME="OpenBSD";;
openindiana) PRETTY_NAME="OpenIndiana";;
opensuse) PRETTY_NAME="openSUSE";;
oraclelinux) PRETTY_NAME="Oracle Linux";;
popos) PRETTY_NAME="Pop!_OS";;
@ -209,6 +210,7 @@ function os_support() {
lubuntu \
macos \
openbsd \
openindiana \
opensuse \
oraclelinux \
popos \
@ -489,6 +491,14 @@ function releases_openbsd(){
echo ${OBSD_RELEASES}
}
function releases_openindiana(){
echo 20230421
}
function editions_openindiana(){
echo gui text minimal
}
function releases_opensuse(){
echo 15.0 15.1 15.2 15.3 15.4 microos tumbleweed
}
@ -848,6 +858,9 @@ function make_vm_config() {
openbsd)
GUEST="openbsd"
IMAGE_TYPE="iso";;
openindiana)
GUEST="solaris"
IMAGE_TYPE="iso";;
reactos)
GUEST="reactos"
IMAGE_TYPE="iso";;
@ -886,6 +899,9 @@ EOF
case ${OS} in
alma|centos-stream|endless|nixos|oraclelinux|popos|rockylinux)
echo "disk_size=\"32G\"" >> "${CONF_FILE}";;
openindiana)
echo "boot=\"legacy\"" >> "${CONF_FILE}"
echo "disk_size=\"32G\"" >> "${CONF_FILE}";;
batocera)
echo "disk_size=\"8G\"" >> "${CONF_FILE}";;
dragonflybsd|haiku|openbsd|netbsd|slackware|tails)
@ -1518,6 +1534,15 @@ function get_openbsd() {
echo "${URL}/${ISO} ${HASH}"
}
function get_openindiana(){
local HASH=""
local ISO=""
local URL=""
URL="https://dlc.openindiana.org/isos/hipster/${RELEASE}"
ISO="OI-hipster-${EDITION}-${RELEASE}.iso"
HASH=$(wget -q -O- "${URL}/${ISO}.sha256" |cut -d' ' -f1)
echo "${URL}/${ISO} ${HASH}"
}
function get_opensuse() {
local HASH=""
local ISO=""