Add Vanilla OS

This commit is contained in:
Phil Clifford 2023-04-26 23:43:58 +01:00 committed by Martin Wimpress
parent b9ba135884
commit 53a4100905
1 changed files with 21 additions and 0 deletions

View File

@ -73,6 +73,7 @@ function pretty_name() {
ubuntu-mate) PRETTY_NAME="Ubuntu MATE";;
ubuntustudio) PRETTY_NAME="Ubuntu Studio";;
ubuntu-unity) PRETTY_NAME="Ubuntu Unity";;
vanillaos) PRETTY_NAME="Vanilla OS";;
void) PRETTY_NAME="Void Linux";;
vxlinux) PRETTY_NAME="VX Linux";;
zorin) PRETTY_NAME="Zorin OS";;
@ -228,6 +229,7 @@ function os_support() {
ubuntu-mate \
ubuntustudio \
ubuntu-unity \
vanillaos \
void \
vxlinux \
windows \
@ -644,6 +646,10 @@ function releases_ubuntu() {
fi
}
function releases_vanillaos() {
echo 22.10
}
function releases_void() {
echo current
}
@ -905,6 +911,10 @@ EOF
# echo "1stdrive_size=\"20G\"" >> "${CONF_FILE}" # for testing
# echo "2nddrive_size=\"20G\"" >> "${CONF_FILE}" # again, for testing
;;
vanillaos)
## Minimum 50G for abroot
echo "disk_size=\"64G\"" >> "${CONF_FILE}"
;;
zorin)
case ${EDITION} in
education64|edulite64)
@ -1026,6 +1036,17 @@ function get_blendos() {
echo "${URL} ${HASH}"
}
function get_vanillaos() {
# maybe use github api and dynamism for R2.0 but for 22.10 just
# hit their CDN
#
# https://cdn.vanillaos.org/assets/ISO/22.10-r8/VanillaOS-22.10-all.20230226.md5.txt
# https://cdn.vanillaos.org/assets/ISO/22.10-r8/VanillaOS-22.10-all.20230226.sha256.txt
local HASH=$(curl -s "https://cdn.vanillaos.org/assets/ISO/22.10-r8/VanillaOS-22.10-all.20230226.sha256.txt" | cut -d' ' -f1)
local URL="https://cdn.vanillaos.org/assets/ISO/22.10-r8/VanillaOS-22.10-all.20230226.iso"
echo "${URL} ${HASH}"
}
function get_batocera() {
local HASH=""
local URL="https://mirrors.o2switch.fr/batocera/x86_64/stable/last"