📦 Guix
This commit is contained in:
parent
e03d438b00
commit
59033897c8
21
quickget
21
quickget
|
@ -253,6 +253,7 @@ function os_support() {
|
|||
gentoo \
|
||||
ghostbsd \
|
||||
gnomeos \
|
||||
guix \
|
||||
haiku \
|
||||
holoiso \
|
||||
kali \
|
||||
|
@ -347,6 +348,7 @@ function os_homepages(){
|
|||
gentoo) HOMEPAGE="https://www.gentoo.org/";;
|
||||
ghostbsd) HOMEPAGE="https://www.ghostbsd.org/";;
|
||||
gnomeos) HOMEPAGE="https://os.gnome.org/";;
|
||||
guix) HOMEPAGE="https://guix.gnu.org/";;
|
||||
haiku) HOMEPAGE="https://www.haiku-os.org/";;
|
||||
holoiso) HOMEPAGE="https://github.com/HoloISO/holoiso";;
|
||||
kali) HOMEPAGE="https://www.kali.org/";;
|
||||
|
@ -669,6 +671,10 @@ function releases_gnomeos() {
|
|||
echo nightly ${GNOMEOS_RELEASES}
|
||||
}
|
||||
|
||||
function releases_guix() {
|
||||
echo 1.4.0 1.3.0
|
||||
}
|
||||
|
||||
function releases_haiku() {
|
||||
echo r1beta3 r1beta4
|
||||
}
|
||||
|
@ -1842,6 +1848,16 @@ function get_gnomeos() {
|
|||
echo "${URL}/${ISO} ${HASH}"
|
||||
}
|
||||
|
||||
function get_guix() {
|
||||
#local HASH=""
|
||||
#local ISO="guix-system-vm-image-1.4.0.x86_64-linux.qcow2"
|
||||
local ISO="guix-system-install-1.4.0.x86_64-linux.iso"
|
||||
local URL="https://ftpmirror.gnu.org/gnu/guix"
|
||||
|
||||
#HASH=$(wget -q -O- "${URL}/${ISO}.sig")
|
||||
echo "${URL}/${ISO}" #${HASH}"
|
||||
}
|
||||
|
||||
function get_haiku() {
|
||||
local EDITION="${1:-}"
|
||||
local ISO="haiku-${RELEASE}-${EDITION}-anyboot.iso"
|
||||
|
@ -3145,6 +3161,11 @@ create_vm() {
|
|||
unzip ${VM_PATH}/${ISO} -d ${VM_PATH}
|
||||
ISO=$(ls ${VM_PATH} | grep -i '.iso')
|
||||
fi
|
||||
|
||||
#if [ ${OS} == "guix" ] && [[ $ISO =~ ".qcow2" ]]; then
|
||||
#cp ${VM_PATH}/${ISO} ${VM_PATH}/disc.qcow2
|
||||
#fi
|
||||
|
||||
if [[ ${OS} == "batocera" ]] && [[ ${ISO} =~ ".gz" ]]; then
|
||||
gzip -d "${VM_PATH}/${ISO}"
|
||||
ISO="${ISO/.gz/}"
|
||||
|
|
Loading…
Reference in New Issue