From e84978a0208b88cf58d403e4747eefbfa15afa8b Mon Sep 17 00:00:00 2001 From: zenobit Date: Wed, 27 Dec 2023 10:28:09 +0100 Subject: [PATCH] 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. --- quickget | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/quickget b/quickget index 8a63526..f0e3258 100755 --- a/quickget +++ b/quickget @@ -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=""