Add PureOS

[PR](https://github.com/quickemu-project/quickemu/pull/786) Closed with comment
I am not going to accept distros that are primarily designed for/by OEMs as they will often carry hardware-specific enablement that is unnecessary in VMs.
This commit is contained in:
zenobit 2023-12-27 10:28:09 +01:00
parent 4e147aae56
commit e84978a020

View file

@ -304,6 +304,7 @@ function os_support() {
popos \
porteus \
primtux \
pureos \
reactos \
rebornos \
rockylinux \
@ -939,6 +940,14 @@ function editions_primtux() {
echo 2022-10
}
function releases_pureos() {
echo 9.0 10.3
}
function editions_pureos() {
echo gnome plasma
}
function releases_reactos() {
echo latest
}
@ -2579,6 +2588,26 @@ function get_primtux() {
echo "${URL}/${ISO} ${HASH}"
}
function get_pureos() {
local EDITION="${1:-}"
local HASH=""
local ISO=""
local URL=""
case ${RELEASE} in
9)
URL="https://downloads.puri.sm/9/live/${EDITION}/2020-08-06"
ISO="pureos-${RELEASE}-${EDITION}-live_20200806-amd64.hybrid.iso"
HASH=$(wget -q -O- "${URL}/checksums.sha256sum" | grep "${ISO}" | cut -d' ' -f1)
;;
10)
URL="https://downloads.puri.sm/10/${EDITION}/2023-06-14"
ISO="pureos-${RELEASE}-${EDITION}-live-20230614_amd64.iso"
HASH=$(wget -q -O- "${URL}/pureos-${RELEASE}-${EDITION}-live-20230614_amd64.checksums_sha256.txt" | head -1 | cut -d' ' -f1)
esac
echo "${URL}/${ISO} ${HASH}"
}
function get_reactos() {
local HASH=""
local URL=""