Remove kdelinux section and update ISO format

Removed kdelinux installation section and updated ISO retrieval to use .iso files instead of .raw files.
This commit is contained in:
Lazymanzoid 2026-07-25 21:25:22 -04:00 committed by GitHub
parent 7811da64dd
commit 8e5d2f5281
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 10 deletions

View File

@ -1482,15 +1482,6 @@ EOF
echo "disk_size=\"2G\"" >> "${CONF_FILE}"
echo "ram=\"128M\"" >> "${CONF_FILE}"
;;
kdelinux)
# The installer image is a .raw file
echo "#!/usr/local/bin/quickemu --vm" > "${CONF_FILE}"
echo "guest_os=\"linux\"" >> "${CONF_FILE}"
qemu-img create -f qcow2 kdelinux-latest/disk.qcow2 50G
qemu-img convert -O qcow2 kdelinux-latest/kde-linux_* kdelinux-latest/kdelinux-installer.qcow2 # Convert the .raw file to a bootable .qcow2 file
echo "disk_img=\"kdelinux-latest/kdelinux-installer.qcow2\"" >> "${CONF_FILE}"
echo "extra_args=\"-drive file=kdelinux-latest/disk.qcow2,format=qcow2\"" >> "${CONF_FILE}"
;;
slint)
echo "disk_size=\"50G\"" >> "${CONF_FILE}"
;;
@ -2037,7 +2028,7 @@ function get_kdelinux() {
local HASH=""
local ISO=""
local URL="https://files.kde.org/kde-linux"
ISO=$(curl -s "${URL}/?C=M;O=D" | grep -o 'kde-linux_[0-9]\{12\}\.raw' | head -n1)
ISO=$(curl -s "${URL}/?C=M;O=D" | grep -o 'kde-linux_[0-9]\{12\}\.iso' | head -n1)
HASH=$(web_pipe "${URL}/SHA256SUMS" | grep "$ISO" | awk '{print $1}')
echo "${URL}/${ISO} ${HASH}"
}