Skip to content

Commit

Permalink
Add PureOS
Browse files Browse the repository at this point in the history
[PR](quickemu-project/quickemu#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.
  • Loading branch information
zen0bit committed Dec 27, 2023
1 parent 4e147aa commit e84978a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ function os_support() {
popos \
porteus \
primtux \
pureos \
reactos \
rebornos \
rockylinux \
Expand Down Expand Up @@ -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
}
Expand Down Expand Up @@ -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=""
Expand Down

0 comments on commit e84978a

Please sign in to comment.