Add CachyOS support

pull/245/head
Vladislav Nepogodin 3 years ago
parent 4080bf8048
commit f8fe496df2
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9
  1. 3
      README.md
  2. 32
      quickget

@ -33,7 +33,7 @@ comprehensive support for macOS and Windows**.
* [Ubuntu](https://ubuntu.com/desktop) and all the **[official Ubuntu flavours](https://ubuntu.com/download/flavours)**
* [Fedora](https://getfedora.org/) & openSUSE ([Leap](https://get.opensuse.org/leap/), [Tumbleweed](https://get.opensuse.org/tumbleweed/), [MicroOS](https://microos.opensuse.org/))
* [Linux Mint](https://linuxmint.com/) (Cinnamon, MATE, and XFCE), [elementary OS](https://elementary.io/), [Pop!_OS](https://pop.system76.com/)
* [Arch Linux](https://www.archlinux.org/), [Kali](https://www.kali.org/),[Garuda](https://garudalinux.org/), [ZorinOS](https://zorin.com/os/) & [NixOS](https://nixos.org/)
* [Arch Linux](https://www.archlinux.org/), [Kali](https://www.kali.org/), [Garuda](https://garudalinux.org/), [CachyOS](https://cachyos.org/), [ZorinOS](https://zorin.com/os/) & [NixOS](https://nixos.org/)
* [Regolith Linux](https://regolith-linux.org/) (Release 1.6 and latest 2.0.0 pre-release )
* [FreeBSD](https://www.freebsd.org/) & [OpenBSD](https://www.openbsd.org/)
* Full SPICE support including host/guest clipboard sharing
@ -177,6 +177,7 @@ preferred flavour.
* `elementary`
* `fedora`
* `garuda`
* `cachyos`
* `kali`
* `linuxmint-cinnamon`
* `linuxmint-mate`

@ -39,6 +39,7 @@ function pretty_name() {
elementary) PRETTY_NAME="elementary OS";;
freebsd) PRETTY_NAME="FreeBSD";;
garuda) PRETTY_NAME="Garuda Linux";;
cachyos) PRETTY_NAME="CachyOS";;
kdeneon) PRETTY_NAME="KDE Neon";;
linuxmint-cinnamon) PRETTY_NAME="Linux Mint Cinnamon";;
linuxmint-mate) PRETTY_NAME="Linux Mint MATE";;
@ -126,6 +127,8 @@ function list_csv() {
DOWNLOADER="${DL}"
elif [ "${OS}" == "garuda" ]; then
DOWNLOADER="${DL}"
elif [ "${OS}" == "cachyos" ]; then
DOWNLOADER="${DL}"
elif [[ "${OS}" == *"kdeneon"* ]]; then
DOWNLOADER="${DL}"
else
@ -155,6 +158,7 @@ function os_support() {
freebsd \
fedora \
garuda \
cachyos \
kali \
kdeneon \
kubuntu \
@ -229,6 +233,10 @@ function releases_garuda() {
cinnamon
}
function releases_cachyos() {
echo 2021.11.10
}
function releases_kali() {
echo latest \
weekly
@ -680,6 +688,9 @@ function make_vm_config() {
elif [ "${OS}" == "garuda" ]; then
GUEST="linux"
IMAGE_TYPE="iso"
elif [ "${OS}" == "cachyos" ]; then
GUEST="linux"
IMAGE_TYPE="iso"
elif [ "${OS}" == "kdeneon" ]; then
GUEST="linux"
IMAGE_TYPE="iso"
@ -740,6 +751,10 @@ EOF
echo "macos_release=\"${RELEASE}\"" >> "${OS}-${RELEASE}.conf"
fi
if [ "${OS}" == "cachyos" ]; then
echo "disk_size=\"32G\"" >> "${OS}-${RELEASE}.conf"
fi
if [ "${OS}" == "garuda" ]; then
echo "disk_size=\"32G\"" >> "${OS}-${RELEASE}.conf"
fi
@ -810,6 +825,19 @@ function get_archlinux() {
make_vm_config "${ISO}"
}
function get_cachyos() {
local HASH=""
local ISO=""
local URL=""
local VERSION=""
validate_release "releases_cachyos"
ISO="cachyos-cli-${RELEASE}-x86_64.iso"
URL="https://deac-fra.dl.sourceforge.net/project/cachyos-arch/cli-installer"
web_get "${URL}/${ISO}" "${VM_PATH}"
make_vm_config "${ISO}"
}
function get_elementary() {
local ISO=""
local URL=""
@ -1349,6 +1377,8 @@ if [ -n "${2}" ]; then
get_fedora
elif [ "${OS}" == "garuda" ]; then
get_garuda
elif [ "${OS}" == "cachyos" ]; then
get_cachyos
elif [ "${OS}" == "kali" ]; then
get_kali
elif [ "${OS}" == "kdeneon" ]; then
@ -1434,6 +1464,8 @@ else
releases_fedora
elif [ "${OS}" == "garuda" ]; then
releases_garuda
elif [ "${OS}" == "cachyos" ]; then
releases_cachyos
elif [ "${OS}" == "kali" ]; then
releases_kali
elif [[ "${OS}" == *"linuxmint-"* ]]; then

Loading…
Cancel
Save