Add bodhi linux (#751)

This commit is contained in:
zenobit 2023-10-18 11:41:47 +02:00 committed by GitHub
parent 9f9b6183e2
commit 39de883c40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -185,6 +185,7 @@ function os_support() {
arcolinux \ arcolinux \
batocera \ batocera \
blendos \ blendos \
bodhi \
bunsenlabs \ bunsenlabs \
cachyos \ cachyos \
centos-stream \ centos-stream \
@ -304,6 +305,14 @@ function releases_bunsenlabs() {
echo latest echo latest
} }
function releases_bodhi() {
echo 7.0.0
}
function editions_bodhi() {
echo standard hwe s76
}
function releases_cachyos() { function releases_cachyos() {
echo 230813 echo 230813
} }
@ -1138,6 +1147,20 @@ function get_batocera() {
echo "${URL}/${ISO} ${HASH}" echo "${URL}/${ISO} ${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_cachyos() { function get_cachyos() {
local HASH="" local HASH=""
local ISO="cachyos-${EDITION}-linux-${RELEASE}.iso" local ISO="cachyos-${EDITION}-linux-${RELEASE}.iso"