Add Bodhi Linux

This commit is contained in:
zenobit 2023-09-14 15:36:19 +02:00
parent 80ad43840e
commit 7d62bf1e59

View file

@ -40,6 +40,7 @@ function pretty_name() {
atheanos) PRETTY_NAME="Athena OS";;
biglinux) PRETTY_NAME="BigLinux";;
blendos) PRETTY_NAME="BlendOS";;
bodhi) PRETTY_NAME="Bodhi Linux";;
cachyos) PRETTY_NAME="CachyOS";;
centos-stream) PRETTY_NAME="CentOS Stream";;
cereus) PRETTY_NAME="Cereus Linux";;
@ -197,6 +198,7 @@ function os_support() {
batocera \
biglinux \
blendos \
bodhi \
cachyos \
centos-stream \
cereus \
@ -330,6 +332,14 @@ function editions_blendos() {
echo gnome kde
}
function releases_bodhi() {
echo 7.0.0
}
function editions_bodhi() {
echo standard hwe s76
}
function releases_cachyos() {
echo 2300305
}
@ -1209,6 +1219,20 @@ function get_blendos() {
echo "${URL} ${HASH}"
}
function get_bodhi() {
local EDITION="${1:-}"
local HASH=""
local ISO=""
local URL="https://sourceforge.net/projects/bodhilinux/files/${release}/"
case ${EDITION} in
standard) ISO="bodhi-${RELEASE}-64.iso";;
*) ISO="bodhi-${RELEASE}-64-${EDITION}.iso";;
esac
HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | cut -d' ' -f1)
echo "${URL}/${ISO} ${HASH}"
}
function get_vanillaos() {
# maybe use github api and dynamism for R2.0 but for 22.10 just
# hit their CDN